mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 00:56:19 +00:00
Fixed: Clean up dyn bubbles from chat/webig to prevent crash after character change.
--HG-- branch : compatibility-develop
This commit is contained in:
parent
feff7422d2
commit
cb65c89d19
1 changed files with 12 additions and 0 deletions
|
@ -312,6 +312,18 @@ void CGroupInSceneBubbleManager::release ()
|
||||||
|
|
||||||
_CurrentBubble = 0;
|
_CurrentBubble = 0;
|
||||||
_PopupCount = 0;
|
_PopupCount = 0;
|
||||||
|
|
||||||
|
//
|
||||||
|
for (i=0; i<_DynBubbles.size(); i++)
|
||||||
|
{
|
||||||
|
CWidgetManager::getInstance()->unMakeWindow(_DynBubbles[i].Bubble);
|
||||||
|
if (_DynBubbles[i].Bubble->getParent())
|
||||||
|
_DynBubbles[i].Bubble->getParent()->delGroup(_DynBubbles[i].Bubble);
|
||||||
|
else
|
||||||
|
delete _DynBubbles[i].Bubble;
|
||||||
|
}
|
||||||
|
_DynBubbles.clear();
|
||||||
|
_GroupToDelete.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
|
Loading…
Reference in a new issue