public void OnQuit(object sender, EventArgs e) { Log.Info("OnQuit"); if (configWindow != null) { configWindow.Close(); } SensorWorkerRunner.Dispose(); TrayIconStrip.Dispose(); Platform.ApplicationExit(); }