cec: refactor USB adapter communication. less locks, shorter locks, added documentati...
[deb_libcec.git] / src / cec-config-gui / CecConfigGUI.cs
index 94ce2ad5a016212f4897d41c74c4c4457fc13d2e..adc02e86e022648c8d1db34d961c2b8f1afcdee1 100644 (file)
@@ -321,6 +321,12 @@ namespace CecConfigGui
           }
           SetControlVisible(pProgress, false);
           break;
+        case UpdateEventType.ExitApplication:
+          ActiveProcess = null;
+          SetControlsEnabled(false);
+          SetControlVisible(pProgress, false);
+          Application.Exit();
+          break;
       }
     }