Fixed the bug where starting a server made the program crash on closing.

Fixed some memory leaks in Client.cpp.
This commit is contained in:
Jocke
2015-12-09 14:43:43 +01:00
parent ba150a264c
commit 0807a7d0ae
4 changed files with 19 additions and 12 deletions
+1
View File
@@ -49,6 +49,7 @@ Game::~Game()
{
// Call before to ensure that thread closes correctly.
m_Client.Close();
m_Server.Close();
delete m_FrameStack;
delete m_EventBroker;