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 }
private static void MainCleanUp() { m_tempFilesPool.Clear(); EntryMenu.Destroy(); AppLogEx.Close(); }
public static void CommonTerminate() { #if DEBUG Debug.Assert(ShutdownBlocker.Instance == null); #endif AppLogEx.Close(); EnableThemingInScope.StaticDispose(); }
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(); }
private static void MainCleanUp() { IpcBroadcast.StopServer(); if (m_tempFilesPool != null) { m_tempFilesPool.Clear(); } EntryMenu.Destroy(); AppLogEx.Close(); }
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(); }
public static void CommonTerminate() { AppLogEx.Close(); EnableThemingInScope.StaticDispose(); }
public static void CommonTerminate() { AppLogEx.Close(); }