From 72cbec76458f809976027395bc10f00c75a6baf5 Mon Sep 17 00:00:00 2001 From: 3hhh Date: Fri, 9 Apr 2021 17:55:57 +0200 Subject: [PATCH] manager: Handle removal of VM during on_shutdown. Fixes QubesOS/qubes-issues#5105 --- qubesmanager/qube_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index e9e61df..c87d76c 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -1061,7 +1061,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow): update(event="outdated") self.proxy.invalidate() self.table_selection_changed() - except exc.QubesDaemonAccessError: + except (exc.QubesDaemonAccessError, exc.QubesVMNotFoundError): return # the VM was deleted before its status could be updated except KeyError: # adding the VM failed for some reason self.on_domain_added(None, None, vm)