Beispiel #1
0
 /// <summary>
 /// Disconnects all clients, terminates all connections and releases server resources
 /// </summary>
 public void Shutdown()
 {
     NetworkManager.Shutdown();
     Manager.Shutdown();
     if (ServerProperties.DeleteSessionFilesOnExit)
     {
         PersistentStateManager.ClearStates();
     }
 }