and just to be really sure - always make threads go through OnWaitForStop

This commit is contained in:
Bernhard Amann 2013-05-15 15:55:38 -07:00
parent 37566e73d8
commit 7bf456c11a
2 changed files with 3 additions and 5 deletions

View file

@ -234,7 +234,8 @@ void MsgThread::OnWaitForStop()
delete msg;
}
usleep(1000);
if ( !Killed() )
usleep(1000);
}
signal_val = old_signal_val;