From 5ed62c5c54fb4c4c58773c66a959a4714b72fae1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 25 Jan 2023 18:30:18 -0500 Subject: [PATCH] Add note about intermediary-actor in debug issue --- tractor/_spawn.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tractor/_spawn.py b/tractor/_spawn.py index 7380ea0..6c0ce5b 100644 --- a/tractor/_spawn.py +++ b/tractor/_spawn.py @@ -457,6 +457,13 @@ async def trio_proc( await proc.wait() if is_root_process(): + # TODO: solve the following issue where we need + # to do a similar wait like this but in an + # "intermediary" parent actor that itself isn't + # in debug but has a child that is, and we need + # to hold off on relaying SIGINT until that child + # is complete. + # https://github.com/goodboy/tractor/issues/320 await maybe_wait_for_debugger( child_in_debug=_runtime_vars.get( '_debug_mode', False),