Stop race event manager if exiting lobby
This commit is contained in:
@@ -42,6 +42,8 @@ LobbyProtocol::LobbyProtocol(CallbackObject* callback_object)
|
||||
// ----------------------------------------------------------------------------
|
||||
LobbyProtocol::~LobbyProtocol()
|
||||
{
|
||||
if (RaceEventManager::getInstance())
|
||||
RaceEventManager::getInstance()->stop();
|
||||
delete m_game_setup;
|
||||
} // ~LobbyProtocol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user