summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-01 00:32:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-01 00:32:10 +0300
commit23e0b9550304fa4c8f412c09ce67d307d1878312 (patch)
tree67221624f8bba25ff0847c450a0faf529723db57 /src/gui/gui.cpp
parent3d9372a2b17f50cfe2fca55dc59ad2db66df2e97 (diff)
downloadplus-23e0b9550304fa4c8f412c09ce67d307d1878312.tar.gz
plus-23e0b9550304fa4c8f412c09ce67d307d1878312.tar.bz2
plus-23e0b9550304fa4c8f412c09ce67d307d1878312.tar.xz
plus-23e0b9550304fa4c8f412c09ce67d307d1878312.zip
Fix possible crash on exit with opened storage window.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index b5b1ab414..39ab67be1 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -271,6 +271,8 @@ Gui::~Gui()
delete2(mSecureFont);
delete2(mInfoParticleFont);
delete2(mNpcFont);
+ if (windowContainer)
+ windowContainer->slowLogic();
delete getTop();
delete2(guiInput);