mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix closing of windows when domains go away
This commit is contained in:
parent
891424c321
commit
47a25d2ee9
@ -73,10 +73,10 @@ class vmmEngine:
|
||||
|
||||
def _do_vm_removed(self, connection, hvuri, vmuuid):
|
||||
if self.connections[hvuri]["windowDetails"].has_key(vmuuid):
|
||||
self.connections[hvuri]["windowDetails"][vmuuid].hide()
|
||||
self.connections[hvuri]["windowDetails"][vmuuid].close()
|
||||
del self.connections[hvuri]["windowDetails"][vmuuid]
|
||||
if self.connections[hvuri]["windowConsole"].has_key(vmuuid):
|
||||
self.connections[hvuri]["windowConsole"][vmuuid].hide()
|
||||
self.connections[hvuri]["windowConsole"][vmuuid].close()
|
||||
del self.connections[hvuri]["windowConsole"][vmuuid]
|
||||
|
||||
def reschedule_timer(self, ignore1,ignore2,ignore3,ignore4):
|
||||
|
Loading…
Reference in New Issue
Block a user