Beispiel #1
0
        public static void CommonTerminate()
        {
#if DEBUG
            Debug.Assert(ShutdownBlocker.Instance == null);
            Debug.Assert(!SendInputEx.IsSending);
            // GC.Collect(); // Force invocation of destructors
#endif

            AppLogEx.Close();

            if (m_tempFilesPool != null)
            {
                m_tempFilesPool.Clear(TempClearFlags.All);
                m_tempFilesPool.WaitForThreads();
            }

            EnableThemingInScope.StaticDispose();
            MonoWorkarounds.Terminate();

#if KP_DEVSNAP
            if (m_bAsmResReg)
            {
                AppDomain.CurrentDomain.AssemblyResolve -= Program.AssemblyResolve;
                m_bAsmResReg = false;
            }
            else
            {
                Debug.Assert(false);
            }
#endif
        }
Beispiel #2
0
        private static void MainCleanUp()
        {
            m_tempFilesPool.Clear();

            EntryMenu.Destroy();

            AppLogEx.Close();
        }
Beispiel #3
0
        public static void CommonTerminate()
        {
#if DEBUG
            Debug.Assert(ShutdownBlocker.Instance == null);
#endif

            AppLogEx.Close();

            EnableThemingInScope.StaticDispose();
        }
Beispiel #4
0
        public static void CommonTerminate()
        {
#if DEBUG
            Debug.Assert(ShutdownBlocker.Instance == null);
            Debug.Assert(!SendInputEx.IsSending);
            // GC.Collect(); // Force invocation of destructors
#endif

            AppLogEx.Close();

            EnableThemingInScope.StaticDispose();
        }
Beispiel #5
0
        private static void MainCleanUp()
        {
            IpcBroadcast.StopServer();

            if (m_tempFilesPool != null)
            {
                m_tempFilesPool.Clear();
            }

            EntryMenu.Destroy();

            AppLogEx.Close();
        }
Beispiel #6
0
        public static void CommonTerminate()
        {
#if DEBUG
            Debug.Assert(ShutdownBlocker.Instance == null);
            Debug.Assert(!SendInputEx.IsSending);
            // GC.Collect(); // Force invocation of destructors
#endif

            AppLogEx.Close();

            if (m_tempFilesPool != null)
            {
                m_tempFilesPool.Clear(TempClearFlags.All);
                m_tempFilesPool.WaitForThreads();
            }

            EnableThemingInScope.StaticDispose();
        }
Beispiel #7
0
        public static void CommonTerminate()
        {
            AppLogEx.Close();

            EnableThemingInScope.StaticDispose();
        }
Beispiel #8
0
 public static void CommonTerminate()
 {
     AppLogEx.Close();
 }