From 5c961fa9ea771572c262fe06ced8e6bda42f60e8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 Jun 2014 15:19:41 +0200 Subject: [PATCH] Missing SolarMutexGuard ...the non-mutex'ed access to the static LinguMgr members from other functions makes it look like those are all assumed to be called with SolarMutex locked; but that does not hold for calls to LinguMgrAppExitLstnr::disposing. Change-Id: I225a9f7ace65774460502a4aa510abddd48d12ca --- editeng/source/misc/unolingu.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index c98718b44c4f..e9c087bdfc09 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -490,6 +491,8 @@ public: void LinguMgrExitLstnr::AtExit() { + SolarMutexGuard g; + // release references LinguMgr::xLngSvcMgr = 0; LinguMgr::xSpell = 0;