mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
and just to be really sure - always make threads go through OnWaitForStop
This commit is contained in:
parent
37566e73d8
commit
7bf456c11a
2 changed files with 3 additions and 5 deletions
|
@ -234,7 +234,8 @@ void MsgThread::OnWaitForStop()
|
|||
delete msg;
|
||||
}
|
||||
|
||||
usleep(1000);
|
||||
if ( !Killed() )
|
||||
usleep(1000);
|
||||
}
|
||||
|
||||
signal_val = old_signal_val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue