Can now start a game and disconnect from lobby without triggering a reload.

It is now possible to crash the game by starting a new server before the previous one has had time to timeout and release the port binding (the previous loadscreen pause meant this was always hidden).
This commit is contained in:
Paul Chote
2011-05-06 23:18:26 +12:00
parent 03264fa2ca
commit 6cb0cb7d0e
9 changed files with 590 additions and 19 deletions

View File

@@ -111,6 +111,7 @@ namespace OpenRA.Server
if (shutdown)
break;
}
Console.WriteLine("Server loop finished");
GameStarted = false;
foreach (var t in ServerTraits.WithInterface<INotifyServerShutdown>())