Example #1
0
        public static void KillThreads()
        {
            Stop_Threads();

            if (Globals.login_window != null && Globals.login_window.IsDisposed == false)
            {
                Globals.login_window.Close();
            }
            if (Globals.map_window != null && Globals.map_window.IsDisposed == false)
            {
                Globals.map_window.Close();
            }

            Util.ClearAllNearby();
            Util.ClearAllSelf();
        }