Commit cb5f37da authored by Anael Beutot's avatar Anael Beutot Committed by Sébastien Luttringer
Browse files

Set VNCViewer thread in daemon mode so it does no prevent cli from exiting

parent 74986a43
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ class VNCViewer(threading.Thread):

    def __init__(self, viewer, cli, host_id, dest_ip, dest_port):
        threading.Thread.__init__(self)
        self.daemon = True
        self.viewer = viewer
        self.cli = cli
        self.rpc = cli.rpc