diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-21 10:12:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-21 10:40:33 +0100 |
commit | d6fa091a75eaf665ec734a56ef1e10b72bc603dd (patch) | |
tree | 4fb58f6a6d1d6d2183c5f72667e984824502e6d9 /desktop | |
parent | 4b83a4131ff6f2ddf457f6a2754d491722d3e2dc (diff) |
no point in release solar mutex before calling PostUserEvent
which will just acquire it gain
Change-Id: I62b0d43e15f93994a53d64b24f9765c5e7b676ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127213
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index b254c927fd10..be4360ed560d 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1567,20 +1567,13 @@ int Desktop::Main() // Reap the process started by fire_glxtest_process(). reap_glxtest_process(); - // Release solar mutex just before we wait for our client to connect - { - SolarMutexReleaser aReleaser; - - // Post user event to startup first application component window - // We have to send this OpenClients message short before execute() to - // minimize the risk that this message overtakes type detection construction!! - Application::PostUserEvent( LINK( this, Desktop, OpenClients_Impl ) ); + // Post user event to startup first application component window + // We have to send this OpenClients message short before execute() to + // minimize the risk that this message overtakes type detection construction!! + Application::PostUserEvent( LINK( this, Desktop, OpenClients_Impl ) ); - // Post event to enable acceptors - Application::PostUserEvent( LINK( this, Desktop, EnableAcceptors_Impl) ); - - // Acquire solar mutex just before we enter our message loop - } + // Post event to enable acceptors + Application::PostUserEvent( LINK( this, Desktop, EnableAcceptors_Impl) ); // call Application::Execute to process messages in vcl message loop #if HAVE_FEATURE_JAVA |