mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
console: Fix hang when reconnecting to remote VNC console
VNC disconnect signals aren't being delivered, meaning we never cleanup up SSH tunnels for remote VNC connections. This causes a reconnect attempt to hang, trying to reuse the existing tunnels (which doesn't work). The problem is that we are cleaning up the VNC widget too early, unregistering callbacks before they get a chance to be invoked. Not cleaning up only causes a small memory leak for every console we open, so only a minor problem compared to the original issue. A more involved fix is required to clean up safely.
This commit is contained in:
parent
9d2119ab3e
commit
becf776d6a
@ -850,7 +850,6 @@ class vmmConsolePages(vmmGObjectUI):
|
||||
viewport.remove(w)
|
||||
|
||||
v.close()
|
||||
v.cleanup()
|
||||
self.viewer_connected = False
|
||||
self.leave_fullscreen()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user