Added missing object deletions.

This commit is contained in:
hiker 2015-10-26 17:54:19 +11:00
parent 4c0a195fdd
commit cf51d2f0e0
2 changed files with 3 additions and 0 deletions

View File

@ -1635,6 +1635,7 @@ static void cleanSuperTuxKart()
// FIXME: do we need to wait for threads there, can they be
// moved further up?
Online::ServersManager::deallocate();
STKHost::destroy();
NetworkManager::kill();
cleanUserConfig();

View File

@ -92,6 +92,8 @@ STKHost::~STKHost()
Network::closeLog();
stopListening();
ProtocolManager::kill();
delete m_network;
} // ~STKHost