From f056506f67cb19f8c849917342f67d5d3f34be9b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 19 Apr 2006 12:40:26 +0000 Subject: [PATCH] fix stupid crashbug when quitting from subscreen SVN-Revision: 3367 --- src/mainloop.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainloop.cpp b/src/mainloop.cpp index 98c8efc97..4e7199d40 100644 --- a/src/mainloop.cpp +++ b/src/mainloop.cpp @@ -84,6 +84,7 @@ MainLoop::quit(ScreenFade* screen_fade) for(std::vector::iterator i = screen_stack.begin(); i != screen_stack.end(); ++i) delete *i; + screen_stack.clear(); exit_screen(screen_fade); } -- 2.11.0