Пример #1
0
        public void OnUnload()
        {
            Settings.Default.Save();

            GraveyardInstance.Dispose();
            GraveyardInstance = null;
        }
Пример #2
0
        public void OnUnload()
        {
            if (Settings?.HasChanges ?? false)
            {
                Settings?.Save();
            }
            Settings = null;

            GraveyardInstance?.Dispose();
            GraveyardInstance = null;
        }
Пример #3
0
 public void OnUnload()
 {
     GraveyardInstance.Dispose();
     GraveyardInstance = null;
 }