1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

Delegate cleanup

This commit is contained in:
scrawl 2015-01-31 16:26:15 +01:00
parent bdcc3a4036
commit c093e284d9
2 changed files with 7 additions and 0 deletions

View file

@ -182,6 +182,10 @@ namespace MWGui
HUD::~HUD()
{
mMainWidget->eventMouseLostFocus.clear();
mMainWidget->eventMouseMove.clear();
mMainWidget->eventMouseButtonClick.clear();
delete mSpellIcons;
}

View file

@ -352,8 +352,11 @@ namespace MWGui
WindowManager::~WindowManager()
{
MyGUI::LanguageManager::getInstance().eventRequestTag.clear();
MyGUI::PointerManager::getInstance().eventChangeMousePointer.clear();
MyGUI::InputManager::getInstance().eventChangeKeyFocus.clear();
MyGUI::ClipboardManager::getInstance().eventClipboardChanged.clear();
MyGUI::ClipboardManager::getInstance().eventClipboardRequested.clear();
delete mConsole;
delete mMessageBoxManager;