set flag before emitting signal

This commit is contained in:
Jeff Hill
2000-08-26 00:50:58 +00:00
parent 5ded632331
commit 2bca5e63df
@@ -31,8 +31,8 @@ ipAddrToAsciiEngine::~ipAddrToAsciiEngine ()
{
ipAddrToAsciiAsynchronous * pItem = this->labor.first ();
this->event.signal ();
this->exitFlag = true;
this->event.signal ();
this->threadExit.wait ();
// force IO completion for any items that remain