[Server] Fix crash when call StopServer() function in OnServerInit()

This commit is contained in:
Koncord 2017-02-18 13:00:01 +08:00
parent 1fb2176cfa
commit a95cf0e07a

View file

@ -177,6 +177,8 @@ void MasterClient::Start()
void MasterClient::Stop()
{
if(!sRun)
return;
sRun = false;
if(thrQuery.joinable())
thrQuery.join();