forked from goodboy/tractor
1
0
Fork 0

Try not masking SIGINT in child processes

advanced_debugger_testing
Tyler Goodlet 2020-11-16 00:07:43 -05:00
parent 02b20dd97c
commit 3e47795305
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def _trio_main(
""" """
# Disable sigint handling in children; # Disable sigint handling in children;
# we don't need it thanks to our cancellation machinery. # we don't need it thanks to our cancellation machinery.
signal.signal(signal.SIGINT, signal.SIG_IGN) # signal.signal(signal.SIGINT, signal.SIG_IGN)
# TODO: make a global func to set this or is it too hacky? # TODO: make a global func to set this or is it too hacky?
# os.environ['PYTHONBREAKPOINT'] = 'tractor._debug.breakpoint' # os.environ['PYTHONBREAKPOINT'] = 'tractor._debug.breakpoint'