Commit 5a57e4d2 authored by Anael Beutot's avatar Anael Beutot
Browse files

Handle rpc deconnection for hypervisor instance.

parent 0321e8a0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -33,6 +33,8 @@ class Handler(HostHandler):
                name=kwargs.pop('hypervisor_name', None),
                proxy=kwargs['proxy'],
            )
        else:
            hypervisor.sjproxy = weakref.proxy(kwargs['proxy'])

        self.hypervisor = weakref.proxy(hypervisor)