Commit f060f0bd 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 f5943ed9
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