From 212f25c2270f6d2c32e10c86f4bf3c6cb36e4daa Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 30 Sep 2014 16:05:04 +0200 Subject: [PATCH] scripting: another missing SolarMutex guard Change-Id: I762dad4d94ab4f27912b4ddac5b6a77f7d685cb8 --- scripting/source/basprov/basscript.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index c6fda325a289..3f4196e5fd5f 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -87,6 +87,8 @@ namespace basprov BasicScriptImpl::~BasicScriptImpl() { + SolarMutexGuard g; + if ( m_documentBasicManager ) EndListening( *m_documentBasicManager ); }