1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-04 14:10:01 +00:00

runfvp: add an asyncio TODO

Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Ross Burton
2021-12-20 17:13:32 +00:00
committed by Jon Mason
parent 17f7371ca8
commit 12501b717f
+1
View File
@@ -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()