1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix crashes on app shutdown

This commit is contained in:
Ivan Savenko
2025-03-11 21:50:52 +00:00
parent 4d383d5880
commit 8204990fa6
5 changed files with 7 additions and 33 deletions

View File

@@ -595,7 +595,7 @@ void ScreenHandler::destroyWindow()
}
}
void ScreenHandler::close()
ScreenHandler::~ScreenHandler()
{
if(settings["general"]["notifications"].Bool())
NotificationHandler::destroy();