summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/jobqueue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/jobqueue.cxx')
-rw-r--r--cppu/source/threadpool/jobqueue.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx
index 6029505fe4ee..333a350c0b23 100644
--- a/cppu/source/threadpool/jobqueue.cxx
+++ b/cppu/source/threadpool/jobqueue.cxx
@@ -98,6 +98,10 @@ namespace cppu_threadpool {
if( 0 == m_lstCallstack.front() )
{
// disposed !
+ if( m_lstJob.empty() )
+ {
+ osl_resetCondition( m_cndWait );
+ }
break;
}