moved lock to avoid recursive lock and potential deadlock
This commit is contained in:
@@ -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