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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user