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

SDOF_pre_sin_testing_XPSBACKUP
Tyler Goodlet 2025-04-10 23:53:35 -04:00
parent 6163d42424
commit 31a7e3b3c5
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