mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-21 05:14:10 +00:00
[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()
|
void MasterClient::Stop()
|
||||||
{
|
{
|
||||||
|
if(!sRun)
|
||||||
|
return;
|
||||||
sRun = false;
|
sRun = false;
|
||||||
if(thrQuery.joinable())
|
if(thrQuery.joinable())
|
||||||
thrQuery.join();
|
thrQuery.join();
|
||||||
|
|
Loading…
Reference in a new issue