Beispiel #1
0
 public static void exit()
 {
     if (instance != null)
     {
         instance.exit_Renamed = true;
         instance = null;
     }
 }
Beispiel #2
0
        private static void deactivate()
        {
            drawListQueue = null;

            if (setLogLevelThread != null)
            {
                setLogLevelThread.exit();
                setLogLevelThread = null;
            }

            CoreThread.exit();

            if (rendererThreads != null)
            {
                for (int i = 0; i < rendererThreads.Length; i++)
                {
                    rendererThreads[i].exit();
                }
                rendererThreads = null;
            }
        }
Beispiel #3
0
        public static void exit()
        {
            if (externalGESettingsListerner != null)
            {
                Settings.Instance.removeSettingsListener("ExternalGE");
                externalGESettingsListerner = null;
            }

            if (Active)
            {
                NativeUtils.exit();
                NativeCallbacks.exit();
                CoreThread.exit();
                setLogLevelThread.exit();
                if (numberRendererThread > 0)
                {
                    for (int i = 0; i < rendererThreads.Length; i++)
                    {
                        rendererThreads[i].exit();
                    }
                }
            }
        }