forked from teamnwah/openmw-tes3coop
[Server] Fix crash when call StopServer() function in OnServerInit()
This commit is contained in:
parent
1fb2176cfa
commit
a95cf0e07a
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ void MasterClient::Start()
|
|||
|
||||
void MasterClient::Stop()
|
||||
{
|
||||
if(!sRun)
|
||||
return;
|
||||
sRun = false;
|
||||
if(thrQuery.joinable())
|
||||
thrQuery.join();
|
||||
|
|
Loading…
Reference in a new issue