/// <summary> /// called from MainForm.MainForm_Closing() when exiting normally /// </summary> public static void Closing() { if (!hasClosed) { goingDown = true; LibSys.StatusBar.WriteLine("Project: Closing '" + Thread.CurrentThread.Name + "' - " + DateTime.Now); ThreadPool2.EmptyQueue(); Project.SaveOptions(); hasClosed = true; } }