Another `tn` eg-loosify inside `ActorNursery.cancel()`..

structural_dynamics_of_flow
Tyler Goodlet 2025-04-10 23:53:35 -04:00
parent 5f74ce9a95
commit 1628fd1d7b
1 changed files with 3 additions and 1 deletions

View File

@ -316,7 +316,9 @@ class ActorNursery:
child_count: int = len(children)
msg: str = f'Cancelling actor nursery with {child_count} children\n'
with trio.move_on_after(3) as cs:
async with trio.open_nursery() as tn:
async with trio.open_nursery(
strict_exception_groups=False,
) as tn:
subactor: Actor
proc: trio.Process