mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-04 17:47:19 +03:00
virt-manager: do not delete tabs while destroying the details window
_close_serial_tab triggers the switch-page event and that can provoke a refresh of the window. This causes an error everytime the details window is pointing to a domain that was just deleted. Solves: https://bugzilla.redhat.com/show_bug.cgi?id=985291 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
cc75bc9311
commit
2751a134f2
@ -567,7 +567,7 @@ class vmmDetails(vmmGObjectUI):
|
||||
self.media_choosers = {}
|
||||
|
||||
for serial in self.serial_tabs:
|
||||
self._close_serial_tab(serial)
|
||||
serial.cleanup()
|
||||
|
||||
self.console.cleanup()
|
||||
self.console = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user