Kaydet (Commit) a1fad26e authored tarafından Michael Stahl's avatar Michael Stahl

fdo#84935: basic: DocBasicItem is a UNO service, lock SolarMutex in dtor

Change-Id: Ia31d735ba54d18f406653debce04a07c077d09eb
üst 644678e2
...@@ -109,7 +109,10 @@ DocBasicItem::DocBasicItem( StarBASIC& rDocBasic ) : ...@@ -109,7 +109,10 @@ DocBasicItem::DocBasicItem( StarBASIC& rDocBasic ) :
DocBasicItem::~DocBasicItem() DocBasicItem::~DocBasicItem()
{ {
SolarMutexGuard g;
stopListening(); stopListening();
mxClassModules.Clear(); // release with SolarMutex locked
} }
void DocBasicItem::clearDependingVarsOnDelete( StarBASIC& rDeletedBasic ) void DocBasicItem::clearDependingVarsOnDelete( StarBASIC& rDeletedBasic )
......
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