Kaydet (Commit) 5c961fa9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst db67702e
......@@ -45,6 +45,7 @@
#include <ucbhelper/commandenvironment.hxx>
#include <ucbhelper/content.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/svapp.hxx>
#include <tools/shl.hxx>
#include <linguistic/misc.hxx>
#include <editeng/eerdll.hxx>
......@@ -490,6 +491,8 @@ public:
void LinguMgrExitLstnr::AtExit()
{
SolarMutexGuard g;
// release references
LinguMgr::xLngSvcMgr = 0;
LinguMgr::xSpell = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment