diff options
Diffstat (limited to 'scripting/source/basprov/basscript.cxx')
-rw-r--r-- | scripting/source/basprov/basscript.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 ); } |