virsh: Register and unregister the close callback also in cmdConnect
This patch improves the error message after disconnecting from the hypervisor and adds the close callback operations required not to leak the callback reference. (cherry picked from commit 69ab0756)
Showing
想要评论请 注册 或 登录