protected static void DisposeGame()
        {
            Game?.Abort();
            Lobby?.Abort();

            Game    = null;
            Lobby   = null;
            Running = false;
        }
Пример #2
0
        public virtual void Shutdown()
        {
            Running = false;
            {
                EmptyCacheCollectors();

                Game?.Abort();
                Lobby?.Abort();

                Game  = null;
                Lobby = null;
            }
        }