Exemple #1
0
 public static void ShutDown()
 {
     WebServer.Stop();
     foreach (KeyValuePair <int, MCServer> kvp in Core.Servers)
     {
         kvp.Value.Stop();
     }
     YAMS.Database.AddLog("Shutting Down");
 }
Exemple #2
0
        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();
        }