From ddcc338ed7e6b3db249e7bb4abb41c325248addd Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 14 Sep 2010 21:16:16 -0700 Subject: [PATCH] don't break out of loop without unlocking mutex --- xwords4/relay/tpool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/relay/tpool.cpp b/xwords4/relay/tpool.cpp index 0f3055259..2cacc9bae 100644 --- a/xwords4/relay/tpool.cpp +++ b/xwords4/relay/tpool.cpp @@ -219,6 +219,7 @@ XWThreadPool::real_tpool_main() } if ( m_timeToDie ) { + pthread_mutex_unlock( &m_queueMutex ); break; }