moved lock to avoid recursive lock and potential deadlock

This commit is contained in:
Jeff Hill
2001-09-18 17:58:54 +00:00
parent 2893c435ac
commit 0d9df123c6

View File

@@ -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 ) );
}