From 011d033a12cd2ed539b0244b4ec352ba58e3a4dc Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 8 Jul 2025 11:07:50 -0400 Subject: [PATCH] Add `.ipc._shm` todo-idea for `@actor_fixture` API --- tractor/ipc/_shm.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tractor/ipc/_shm.py b/tractor/ipc/_shm.py index 62b26e79..ed17a2b7 100644 --- a/tractor/ipc/_shm.py +++ b/tractor/ipc/_shm.py @@ -789,6 +789,11 @@ def open_shm_list( readonly=readonly, ) + # TODO, factor into a @actor_fixture acm-API? + # -[ ] also `@maybe_actor_fixture()` which inludes + # the .current_actor() convenience check? + # |_ orr can that just be in the sin-maybe-version? + # # "close" attached shm on actor teardown try: actor = tractor.current_actor()