forked from amazingfate/loongoffice
fdo#84935: basic: DocBasicItem is a UNO service, lock SolarMutex in dtor
Change-Id: Ia31d735ba54d18f406653debce04a07c077d09eb
This commit is contained in:
@ -109,7 +109,10 @@ DocBasicItem::DocBasicItem( StarBASIC& rDocBasic ) :
|
||||
|
||||
DocBasicItem::~DocBasicItem()
|
||||
{
|
||||
SolarMutexGuard g;
|
||||
|
||||
stopListening();
|
||||
mxClassModules.Clear(); // release with SolarMutex locked
|
||||
}
|
||||
|
||||
void DocBasicItem::clearDependingVarsOnDelete( StarBASIC& rDeletedBasic )
|
||||
|
||||
Reference in New Issue
Block a user