don't break out of loop without unlocking mutex

This commit is contained in:
Eric House 2010-09-14 21:16:16 -07:00
parent 56a920740a
commit ddcc338ed7

View file

@ -219,6 +219,7 @@ XWThreadPool::real_tpool_main()
}
if ( m_timeToDie ) {
pthread_mutex_unlock( &m_queueMutex );
break;
}