mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 09:54:26 +02:00
- added an extra guard to the masterserver thread pointer in case something happens in the constructor, now I make sure the thread pointer is set to NULL at the top of the constructor for safety.
This commit is contained in:
@@ -179,6 +179,7 @@ MenuStateMasterserver::MenuStateMasterserver(Program *program, MainMenu *mainMen
|
||||
MenuState(program, mainMenu, "masterserver")
|
||||
{
|
||||
containerName = "MasterServer";
|
||||
updateFromMasterserverThread = NULL;
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
|
||||
Lang &lang= Lang::getInstance();
|
||||
|
Reference in New Issue
Block a user