public static void Shutdown() { if (MooNetServer != null) { Logger.Warn("Shutting down MooNet-Server.."); MooNetServer.Shutdown(); } if (GameServer != null) { Logger.Warn("Shutting down Game-Server.."); GameServer.Shutdown(); } StopWebServices(); Environment.Exit(0); }
public static void Shutdown() { if (MooNetServer != null) { Logger.Warn("Shutting down MooNet-Server.."); MooNetServer.Shutdown(); } if (GameServer != null) { Logger.Warn("Shutting down Game-Server.."); GameServer.Shutdown(); } // todo: stop webservices. Environment.Exit(0); }