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

@@ -168,7 +168,10 @@ def execute_a2a_delegation(
)
)
finally:
loop.close()
try:
loop.run_until_complete(loop.shutdown_asyncgens())
finally:
loop.close()
async def aexecute_a2a_delegation(