mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Shutdown server immediately without leaving hanging server in main menu
This commit is contained in:
parent
93da58beed
commit
d295784f6e
@ -421,6 +421,7 @@ void CServerHandler::sendClientDisconnecting()
|
||||
networkConnection->close();
|
||||
networkConnection.reset();
|
||||
logicConnection.reset();
|
||||
waitForServerShutdown();
|
||||
}
|
||||
|
||||
void CServerHandler::setCampaignState(std::shared_ptr<CampaignState> newCampaign)
|
||||
|
Loading…
Reference in New Issue
Block a user