Added missing object deletions.
This commit is contained in:
parent
4c0a195fdd
commit
cf51d2f0e0
@ -1635,6 +1635,7 @@ static void cleanSuperTuxKart()
|
|||||||
// FIXME: do we need to wait for threads there, can they be
|
// FIXME: do we need to wait for threads there, can they be
|
||||||
// moved further up?
|
// moved further up?
|
||||||
Online::ServersManager::deallocate();
|
Online::ServersManager::deallocate();
|
||||||
|
STKHost::destroy();
|
||||||
NetworkManager::kill();
|
NetworkManager::kill();
|
||||||
|
|
||||||
cleanUserConfig();
|
cleanUserConfig();
|
||||||
|
@ -92,6 +92,8 @@ STKHost::~STKHost()
|
|||||||
|
|
||||||
Network::closeLog();
|
Network::closeLog();
|
||||||
stopListening();
|
stopListening();
|
||||||
|
ProtocolManager::kill();
|
||||||
|
|
||||||
delete m_network;
|
delete m_network;
|
||||||
} // ~STKHost
|
} // ~STKHost
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user