Exemplo n.º 1
0
 /// <summary>
 /// Will push a final status update to the API clients and shut down the API server.
 /// </summary>
 public void Shutdown()
 {
     this.Running = false;
     Counters.Shutdown();
     Push("Impostor server shutting down...", Structures.ServerSources.DebugSystemCritical, Structures.MessageFlag.DoKickOrDisconnect, null);
     Server.Dispose();
     ApiKeys.Clear();
 }