diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-01-25 10:05:36 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-01-25 16:04:25 +0100 |
commit | 5b2f1243bd44b450da26c8344b3ee459f8e88f6c (patch) | |
tree | 34b837d4758c586fbe74bba337a9878934c75bf0 /fpicker/Module_fpicker.mk | |
parent | a07524de096e8c8bfdb54cfd4ad061c8bd469792 (diff) |
tdf#122927 prevent SolarMutex deadlock on join()
The AsyncRequests thread can be blocked in a SolarMutexGuard, so
we have to release the mutex before calling join().
But there is also a static AsyncRequests object inside the
VistaFilePickerEventHandler::impl_sendEvent function, which will
just be cleaned up at DLL atexit.
"Luckily" it won't ever run, so it doesn't need to be joined and
we can use isRunning to detect it, prevent releasing a non-
existing SolarMutex at this point and so won't crash LO on exit.
Change-Id: I0c56b89a11f96be54e82b756c5e18a058b04a41d
Reviewed-on: https://gerrit.libreoffice.org/66901
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'fpicker/Module_fpicker.mk')
0 files changed, 0 insertions, 0 deletions