From 23e0b9550304fa4c8f412c09ce67d307d1878312 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 May 2015 00:32:10 +0300 Subject: Fix possible crash on exit with opened storage window. --- src/gui/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') 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); -- cgit v1.2.3-70-g09d2