From 0d9df123c685f5f8c58f42a28684dde8e87939c8 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 18 Sep 2001 17:58:54 +0000 Subject: [PATCH] moved lock to avoid recursive lock and potential deadlock --- src/libCom/timer/timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libCom/timer/timer.cpp b/src/libCom/timer/timer.cpp index 4fcb04b31..0e0a7d625 100644 --- a/src/libCom/timer/timer.cpp +++ b/src/libCom/timer/timer.cpp @@ -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 ) ); }