dont check to see if timer thread is suspended when blocking for it to shut down
This commit is contained in:
1 parent
b6b381cc78
commit
24d2d57d62
1 file changed
+1
-1
@@ -53,7 +53,7 @@ timerQueueActive::~timerQueueActive ()
|
||||
{
|
||||
this->terminateFlag = true;
|
||||
this->rescheduleEvent.signal ();
|
||||
while ( ! this->exitFlag && ! this->thread.isSuspended () ) {
|
||||
while ( ! this->exitFlag ) {
|
||||
this->exitEvent.wait ( 1.0 );
|
||||
}
|
||||
// in case other threads are waiting here also
|
||||
|
||||
Reference in new issue
Block a user