public static void ShutDown() { WebServer.Stop(); foreach (KeyValuePair <int, MCServer> kvp in Core.Servers) { kvp.Value.Stop(); } YAMS.Database.AddLog("Shutting Down"); }
public static void ShutDown() { WebServer.Stop(); foreach (KeyValuePair <int, MCServer> kvp in Core.Servers) { kvp.Value.Stop(); } YAMS.Database.AddLog("Shutting Down"); foreach (TelnetClient client in TelnetServer.lstClients) { client.Stop(); } TelnetServer.Stop(); }