diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-05 09:02:56 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-05 13:26:03 +0100 |
commit | 212ea275f21251903e449ba5a6b7c4fc2dc57642 (patch) | |
tree | 642bc004ff6a4071d148d9f42bfed694333334de /vcl | |
parent | 17d6c6975baa7340f850c72755bc9e8d09357375 (diff) |
tdf#118573: Acquire solar mutex when calling Application::Reschedule
Change-Id: I252973ad5902738c2bb684f6bb70bc4c46500bae
Reviewed-on: https://gerrit.libreoffice.org/62873
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/window/salframe.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 9829896763c7..068e1a3a19d7 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -5686,7 +5686,10 @@ static LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LP // messages in the message queue and dispatch them before we return control to the system. if ( nRet ) + { + SolarMutexGuard aGuard; while ( Application::Reschedule( true ) ); + } } else { |