desktop/source/lib/init.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 767817e07532bbf181baa163fa89057b5610a1f1
Author: Caolán McNamara <[email protected]>
AuthorDate: Wed Jul 23 10:07:06 2025 +0100
Commit: Ashod Nakashian <[email protected]>
CommitDate: Sat Jul 26 16:47:38 2025 +0200
use DBG_TESTNOTSOLARMUTEX for joinThreads
Change-Id: I9376e5ebe16cea297d15de2d1c73b9ab5883335c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188213
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Ashod Nakashian <[email protected]>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 49fca80b2f1e..7c17c3a5079f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -167,6 +167,7 @@
#include <vcl/GestureEventPan.hxx>
#include <vcl/svapp.hxx>
#include <unotools/resmgr.hxx>
+#include <tools/debug.hxx>
#include <tools/fract.hxx>
#include <tools/json_writer.hxx>
#include <svtools/ctrltool.hxx>
@@ -3583,6 +3584,8 @@ static void lo_stopURP(LibreOfficeKit* /* pThis */,
static int joinThreads(JoinThreads eCategory)
{
+ DBG_TESTNOTSOLARMUTEX();
+
comphelper::ThreadPool &pool =
comphelper::ThreadPool::getSharedOptimalPool();
if (!pool.joinThreadsIfIdle())
return 0;