From f5943ed978d10230f0b576563d432519415cbff8 Mon Sep 17 00:00:00 2001 From: Anael Beutot Date: Tue, 27 Nov 2012 17:53:42 +0100 Subject: [PATCH] Ask for forward thread to end after VNC process is dead --- cccli/commands/vnc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cccli/commands/vnc.py b/cccli/commands/vnc.py index 29f0a73..64cbf57 100644 --- a/cccli/commands/vnc.py +++ b/cccli/commands/vnc.py @@ -58,6 +58,7 @@ class VNCViewer(threading.Thread): shell=True, close_fds=True, stdin=onull, stdout=onull, stderr=onull) proc.wait() + fwd.stop() del self.cli.forwards[fwd.id] class Command_vnc(TqlCommand): -- GitLab