示例#1
0
        private static void ExitCleanup()
        {
            if (HasCleanedUp)
            {
                return;
            }

            Config.SaveAll();

            Cef.Shutdown();
            BrowserCache.Exit();

            LockManager.Unlock();
            HasCleanedUp = true;
        }
示例#2
0
        private static void ExitCleanup()
        {
            if (hasCleanedUp)
            {
                return;
            }

            App.Close();

            Cef.Shutdown();
            BrowserCache.Exit();

            lockManager.Unlock();
            hasCleanedUp = true;
        }