ui: Always remove an old VNC channel watch before adding a new one
Also set saved handle to zero when removing without adding a new watch. Signed-off-by: NBrandon Carpenter <brandon.carpenter@cypherpath.com> Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com> Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
Showing
想要评论请 注册 或 登录