scripting/source/basprov/basprov.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit c846e85f03b635c88e043166a352a42eeae39304 Author: Jan-Marek Glogowski <glo...@fbihome.de> AuthorDate: Mon Nov 12 13:02:13 2018 +0100 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Mon Nov 12 15:37:26 2018 +0100 Guard listener cleanup of BasicProviderImpl Otherwise JunitTest_sfx2_complex dbgutil asserts especially on Windows with: ucrtbased!get_wide_winmain_command_line+0x296 ucrtbased!get_wide_winmain_command_line+0xe4 ucrtbased!wassert+0x1a vcllo!ImplDbgTestSolarMutex+0x43 tllo!DbgTestSolarMutex+0x11d svllo!SfxBroadcaster::RemoveListener+0x2e svllo!SfxListener::~SfxListener+0x8f basprovlo!basprov::BasicProviderImpl::~BasicProviderImpl+0x8f ... Change-Id: Ia183436a92bc70ed5208364987b3e97e27b5bd6e Reviewed-on: https://gerrit.libreoffice.org/63289 Reviewed-by: Michael Stahl <michael.st...@cib.de> Tested-by: Jenkins diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index 6c856d5a5a24..1055b57bd7d0 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -101,6 +101,8 @@ namespace basprov BasicProviderImpl::~BasicProviderImpl() { + SolarMutexGuard aGuard; + EndListeningAll(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits