1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 02:15:32 +00:00

Fix crash on exit

This commit is contained in:
scrawl 2015-01-31 01:31:41 +01:00
parent 51c05264b0
commit d1b5956a98

View file

@ -352,6 +352,9 @@ namespace MWGui
WindowManager::~WindowManager()
{
MyGUI::PointerManager::getInstance().eventChangeMousePointer.clear();
MyGUI::InputManager::getInstance().eventChangeKeyFocus.clear();
delete mConsole;
delete mMessageBoxManager;
delete mHud;
@ -385,7 +388,6 @@ namespace MWGui
delete mMerchantRepair;
delete mRepair;
delete mSoulgemDialog;
delete mCursorManager;
delete mRecharge;
delete mCompanionWindow;
delete mHitFader;
@ -394,6 +396,8 @@ namespace MWGui
delete mBlindnessFader;
delete mDebugWindow;
delete mCursorManager;
cleanupGarbage();
delete mGuiManager;