Deallocated http manager earlier (in case that it is using a command

which needs any of the objects that have been deleted while cleaning up).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-12-06 13:12:45 +00:00
parent 94abdc5b05
commit f7cf407208

View File

@ -1293,6 +1293,7 @@ static void cleanSuperTuxKart()
//delete in reverse order of what they were created in.
//see InitTuxkart()
Online::HTTPManager::deallocate();
Online::ServersManager::deallocate();
Online::ProfileManager::deallocate();
AchievementsManager::deallocate();
@ -1330,7 +1331,6 @@ static void cleanSuperTuxKart()
StateManager::deallocate();
GUIEngine::EventHandler::deallocate();
Online::HTTPManager::deallocate();
} // cleanSuperTuxKart
//=============================================================================