summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/source/misc/threadpool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx
index 906189202cdd..044362eef055 100644
--- a/comphelper/source/misc/threadpool.cxx
+++ b/comphelper/source/misc/threadpool.cxx
@@ -242,8 +242,8 @@ void ThreadPool::incBusyWorker()
void ThreadPool::decBusyWorker()
{
+ assert(mnBusyWorkers >= 1);
--mnBusyWorkers;
- assert(mnBusyWorkers >= 0);
}
void ThreadPool::waitUntilDone(const std::shared_ptr<ThreadTaskTag>& rTag, bool bJoinAll)