diff options
Diffstat (limited to 'comphelper/source/misc/threadpool.cxx')
-rw-r--r-- | comphelper/source/misc/threadpool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx index fc9b2b3e5404..e66d1d18f24e 100644 --- a/comphelper/source/misc/threadpool.cxx +++ b/comphelper/source/misc/threadpool.cxx @@ -306,7 +306,7 @@ void ThreadTaskTag::waitUntilDone() std::unique_lock< std::mutex > aGuard( maMutex ); while( mnTasksWorking > 0 ) { -#ifdef DBG_UTIL +#if defined DBG_UTIL && !defined NDEBUG // 3 minute timeout in debug mode so our tests fail sooner rather than later std::cv_status result = maTasksComplete.wait_for( aGuard, std::chrono::seconds( 3 * 60 )); |