Cancel nursery

patch-async-enter-all
overclockworked64 2021-10-16 17:50:55 +02:00
parent 010a994f1d
commit c8e7eb8f0b
No known key found for this signature in database
GPG Key ID: 0E4A3AD9DB596812
1 changed files with 2 additions and 0 deletions

View File

@ -51,3 +51,5 @@ async def open_actor_cluster(
assert len(portals) == count
yield portals
await an.cancel()