Пример #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
        }
Пример #2
0
        private static void MainCleanUp()
        {
            m_tempFilesPool.Clear();

            EntryMenu.Destroy();

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

            AppLogEx.Close();

            EnableThemingInScope.StaticDispose();
        }
Пример #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();
        }
Пример #5
0
        private static void MainCleanUp()
        {
            IpcBroadcast.StopServer();

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

            EntryMenu.Destroy();

            AppLogEx.Close();
        }
Пример #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();
        }
Пример #7
0
        public static void CommonTerminate()
        {
            AppLogEx.Close();

            EnableThemingInScope.StaticDispose();
        }
Пример #8
0
 public static void CommonTerminate()
 {
     AppLogEx.Close();
 }