diff --git a/scripts/runfvp b/scripts/runfvp index 66a76cc5..524de24d 100755 --- a/scripts/runfvp +++ b/scripts/runfvp @@ -205,6 +205,7 @@ def runfvp(cli_args): telnet = await asyncio.create_subprocess_exec("telnet", "localhost", str(port), stdin=sys.stdin, stdout=sys.stdout) await telnet.wait() logger.debug(f"Telnet quit, cancelling tasks") + # TODO: this is 3.7+ for t in asyncio.all_tasks(): logger.debug(f"Cancelling {t}") t.cancel()