diff options
author | sb <sb@openoffice.org> | 2010-10-25 15:37:14 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-10-25 15:37:14 +0200 |
commit | 2a3ed89284890615ad4bce57be55ba558351cde1 (patch) | |
tree | afc431e75e1209d0779caacdab0ecbf785ed603c /cppu | |
parent | bfb457712b3f558450d64cee168850ec91276ff6 (diff) |
sb132: #i112448# proper clean up in JobQueue::enter (patch by olistraub)
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/threadpool/jobqueue.cxx | 4 |
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; } |