diff --git a/cccli/commands/vnc.py b/cccli/commands/vnc.py index 29f0a736f08aeddc899c8233b7cf2a8498798a7d..64cbf578e0184034bcdae1274bca57cf9877e9fe 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):