forked from goodboy/tractor
Try not masking SIGINT in child processes
parent
02b20dd97c
commit
3e47795305
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue