From 2f28a665e61359dab6aec92546161d22766d838c Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 8 Jan 2009 11:31:49 +0100 Subject: Fixed segvault when exiting with logToChat enabled --- src/game.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index efa0e859..a788c51a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -228,6 +228,7 @@ void createGuiWindows(Network *network) */ void destroyGuiWindows() { + logger->setChatWindow(NULL); delete chatWindow; delete statusWindow; delete miniStatusWindow; -- cgit v1.2.3-70-g09d2