diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 00:32:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-01 00:32:10 +0300 |
commit | 23e0b9550304fa4c8f412c09ce67d307d1878312 (patch) | |
tree | 67221624f8bba25ff0847c450a0faf529723db57 /src/client.cpp | |
parent | 3d9372a2b17f50cfe2fca55dc59ad2db66df2e97 (diff) | |
download | mv-23e0b9550304fa4c8f412c09ce67d307d1878312.tar.gz mv-23e0b9550304fa4c8f412c09ce67d307d1878312.tar.bz2 mv-23e0b9550304fa4c8f412c09ce67d307d1878312.tar.xz mv-23e0b9550304fa4c8f412c09ce67d307d1878312.zip |
Fix possible crash on exit with opened storage window.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 8ab79ae25..939afef18 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -77,6 +77,7 @@ #include "gui/widgets/button.h" #include "gui/widgets/desktop.h" +#include "gui/widgets/windowcontainer.h" #include "net/chathandler.h" #include "net/download.h" @@ -583,6 +584,8 @@ void Client::gameClear() eventsManager.shutdown(); WindowManager::deleteWindows(); + if (windowContainer) + windowContainer->slowLogic(); stopTimers(); |