moved lock to avoid recursive lock and potential deadlock
This commit is contained in:
1 parent
2893c435ac
commit
0d9df123c6
1 file changed
+1
-1
@@ -44,8 +44,8 @@ timer::~timer ()
|
||||
|
||||
void timer::destroy ()
|
||||
{
|
||||
epicsAutoMutex autoLock ( this->queue.mutex );
|
||||
this->~timer ();
|
||||
epicsAutoMutex autoLock ( this->queue.mutex );
|
||||
this->queue.timerFreeList.release ( this, sizeof( *this ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user