moved lock to avoid recursive lock and potential deadlock

This commit is contained in:
Jeff Hill committed 2001-09-18 17:58:54 +00:00
1 parent 2893c435ac
commit 0d9df123c6
1 file changed
+1 -1
+1 -1
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 ) );
}