[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - vcl/source

Jan Holesovsky kendy at collabora.com
Fri Mar 24 17:58:54 UTC 2017


 vcl/source/app/svapp.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9e42779a79cc37b302236d858aded0abd113ec15
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Mar 24 18:57:18 2017 +0100

    lok: Scheduler::ProcessEventsToIdle() needs the solar mutex locked.
    
    Change-Id: Ibd2e40a995e670db09ca7dbf09465a998f832446

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index f94e9094ae44..6e70a6f04f80 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -551,6 +551,7 @@ extern "C" {
 /// used by unit tests that test only via the LOK API
 SAL_DLLPUBLIC_EXPORT void unit_lok_process_events_to_idle()
 {
+    const SolarMutexGuard aGuard;
     Scheduler::ProcessEventsToIdle();
 }
 }


More information about the Libreoffice-commits mailing list