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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user