public void Close() { try { foreach (var fipPanel in _fipPanels) { fipPanel.Shutdown(); } if (InitOk) { //No need to deinit if init never worked. (e.g. missing Saitek Drivers) DirectOutputClass.Deinitialize(); } //Console.WriteLine(retVal); } catch (Exception e) { Common.LogError(234323, e); } }