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:
parent
51c05264b0
commit
d1b5956a98
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue