fix: ensure loop close

This commit is contained in:
Greyson LaLonde
2026-01-16 03:41:23 -05:00
parent 4573fc95c4
commit 3f7e76a9d3

View File

@@ -167,6 +167,9 @@ def execute_a2a_delegation(
skill_id=skill_id,
)
)
finally:
try:
loop.run_until_complete(loop.shutdown_asyncgens())
finally:
loop.close()