protected internal override async Task Shutdown(string reason) { RoomServer.Shutdown(reason); PlayerServer.Shutdown(reason); while (RoomServer.Status != NetPeerStatus.NotRunning || PlayerServer.Status != NetPeerStatus.NotRunning) { await Task.Delay(10); } }
partial void ImplementationShutdown(string reason) { RoomServer.Shutdown(reason); PlayerServer.Shutdown(reason); }