mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
don't break out of loop without unlocking mutex
This commit is contained in:
parent
56a920740a
commit
ddcc338ed7
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ XWThreadPool::real_tpool_main()
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_timeToDie ) {
|
if ( m_timeToDie ) {
|
||||||
|
pthread_mutex_unlock( &m_queueMutex );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue