From 31f599aa8fa42e00d4b02d6486062fe7856cb12f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 9 Jan 2013 17:43:35 +0000 Subject: [PATCH] - attempt to fix bug reported by tomereyn: http://glest.org/glest_board/index.php?topic=8842.0;topicseen --- source/glest_game/menu/menu_state_connected_game.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 5de59982..392f7e68 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -680,6 +680,8 @@ MenuStateConnectedGame::~MenuStateConnectedGame() { if(modHttpServerThread != NULL) { if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line %d]\n",__FILE__,__FUNCTION__,__LINE__); if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",__FILE__,__FUNCTION__,__LINE__); + + modHttpServerThread->setThreadOwnerValid(false); modHttpServerThread->signalQuit(); //modHttpServerThread->setThreadOwnerValid(false);