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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user