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

            Config.SaveAll();

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

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

            App.Close();

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

            lockManager.Unlock();
            hasCleanedUp = true;
        }