mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
details: Don't backtrace when cleaning up serial consoles
This commit is contained in:
parent
102c5468f0
commit
da590bba95
@ -937,7 +937,6 @@ class vmmConsolePages(vmmGObjectUI):
|
||||
cpage == PAGE_VIEWER and
|
||||
self.viewer_connected)
|
||||
|
||||
print "ALLOW FULLSCREEN", dpage, cpage, self.viewer_connected, allow_fullscreen
|
||||
self.window.get_widget("control-fullscreen").set_sensitive(allow_fullscreen)
|
||||
self.window.get_widget("details-menu-view-fullscreen").set_sensitive(allow_fullscreen)
|
||||
|
||||
|
@ -420,9 +420,6 @@ class vmmDetails(vmmGObjectUI):
|
||||
self.conn = None
|
||||
self.addhwmenu = None
|
||||
|
||||
self.console.cleanup()
|
||||
self.console = None
|
||||
|
||||
if self.addhw:
|
||||
self.addhw.cleanup()
|
||||
self.addhw = None
|
||||
@ -438,6 +435,9 @@ class vmmDetails(vmmGObjectUI):
|
||||
|
||||
for name in self.serial_tabs:
|
||||
self._close_serial_tab(name)
|
||||
|
||||
self.console.cleanup()
|
||||
self.console = None
|
||||
except:
|
||||
logging.exception("Error cleaning up details")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user