mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 00:41:33 +00:00
Resolve crashes on exit with visible MyGUI widgets
This commit is contained in:
parent
4db2f79a3c
commit
6255b0492b
3 changed files with 4 additions and 2 deletions
|
@ -108,6 +108,7 @@
|
||||||
Bug #5869: Guards can initiate arrest dialogue behind locked doors
|
Bug #5869: Guards can initiate arrest dialogue behind locked doors
|
||||||
Bug #5871: The console appears if you type the Russian letter "Ё" in the name of the enchantment
|
Bug #5871: The console appears if you type the Russian letter "Ё" in the name of the enchantment
|
||||||
Bug #5877: Effects appearing with empty icon
|
Bug #5877: Effects appearing with empty icon
|
||||||
|
Bug #5899: Visible modal windows and dropdowns crashing game on exit
|
||||||
Feature #390: 3rd person look "over the shoulder"
|
Feature #390: 3rd person look "over the shoulder"
|
||||||
Feature #832: OpenMW-CS: Handle deleted references
|
Feature #832: OpenMW-CS: Handle deleted references
|
||||||
Feature #1536: Show more information about level on menu
|
Feature #1536: Show more information about level on menu
|
||||||
|
|
|
@ -35,6 +35,7 @@ namespace MWGui
|
||||||
|
|
||||||
void Layout::shutdown()
|
void Layout::shutdown()
|
||||||
{
|
{
|
||||||
|
setVisible(false);
|
||||||
MyGUI::Gui::getInstance().destroyWidget(mMainWidget);
|
MyGUI::Gui::getInstance().destroyWidget(mMainWidget);
|
||||||
mListWindowRoot.clear();
|
mListWindowRoot.clear();
|
||||||
}
|
}
|
||||||
|
|
|
@ -503,8 +503,6 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
mStatsWatcher.reset();
|
mStatsWatcher.reset();
|
||||||
|
|
||||||
mKeyboardNavigation.reset();
|
|
||||||
|
|
||||||
MyGUI::LanguageManager::getInstance().eventRequestTag.clear();
|
MyGUI::LanguageManager::getInstance().eventRequestTag.clear();
|
||||||
MyGUI::PointerManager::getInstance().eventChangeMousePointer.clear();
|
MyGUI::PointerManager::getInstance().eventChangeMousePointer.clear();
|
||||||
MyGUI::InputManager::getInstance().eventChangeKeyFocus.clear();
|
MyGUI::InputManager::getInstance().eventChangeKeyFocus.clear();
|
||||||
|
@ -523,6 +521,8 @@ namespace MWGui
|
||||||
delete mCursorManager;
|
delete mCursorManager;
|
||||||
delete mToolTips;
|
delete mToolTips;
|
||||||
|
|
||||||
|
mKeyboardNavigation.reset();
|
||||||
|
|
||||||
cleanupGarbage();
|
cleanupGarbage();
|
||||||
|
|
||||||
mFontLoader.reset();
|
mFontLoader.reset();
|
||||||
|
|
Loading…
Reference in a new issue