public static void SaveBeforeExit() { if (_instance == null || !_instance._savingInProgress) { return; } _instance.Save(); }