- 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:
parent
025d8520b6
commit
3d132d11a2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue