mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Erase any active windows before deleting guihandler
This commit is contained in:
parent
82f963bc12
commit
977e15d15c
@ -134,6 +134,7 @@ CGuiHandler::~CGuiHandler()
|
||||
// enforce deletion order on shutdown
|
||||
// all UI elements including adventure map must be destroyed before Gui Handler
|
||||
// proper solution would be removal of adventureInt global
|
||||
windowHandlerInstance->clear();
|
||||
adventureInt.reset();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user