mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Shutdown server immediately without leaving hanging server in main menu
This commit is contained in:
@@ -421,6 +421,7 @@ void CServerHandler::sendClientDisconnecting()
|
||||
networkConnection->close();
|
||||
networkConnection.reset();
|
||||
logicConnection.reset();
|
||||
waitForServerShutdown();
|
||||
}
|
||||
|
||||
void CServerHandler::setCampaignState(std::shared_ptr<CampaignState> newCampaign)
|
||||
|
||||
Reference in New Issue
Block a user