desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 11967c72b20b27972aa29c246101bb6da39b456a Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Sep 5 16:06:27 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Sep 5 17:42:14 2025 +0200 deadlock on iOS if launched from a non-main thread too The same problem mentioned in: commit 123c7b80447a2b433e19d0d04be444c4dfdd0551 Date: Mon May 20 23:53:12 2019 +0300 tdf#125397: Fixes for threads and SolarMutex on iOS happens if launched not from the main thread too. The need for this in either case needs to be looked into a bit more. Change-Id: I05deb87897201c3ff14f28fc858c30876f491681 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190619 Reviewed-by: Skyler Grey <skyler.g...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a27f34d38607..3bc592c01592 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -8494,7 +8494,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char desktop::Desktop::GetCommandLineArgs().setHeadless(); #ifdef IOS - if (InitVCL() && [NSThread isMainThread]) + if (InitVCL()) { static bool bFirstTime = true; if (bFirstTime)