Skip to content

Commit

Permalink
Fix critical typo
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jan 30, 2024
1 parent 4d2e774 commit 3461767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpervisor/atexitasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _ensure_signal_handlers_set():
if callable(prev_sigint) and prev_sigint.__qualname__ != "default_int_handler":
_prev_handlers[signal.SIGINT] = prev_sigint
if callable(prev_sigterm) and prev_sigterm != signal.Handlers.SIG_DFL:
_prev_handlers[signal.SIGTERM] = prev_sigint
_prev_handlers[signal.SIGTERM] = prev_sigterm

# let _handle_signal handle SIGINT and SIGTERM
signal.signal(signal.SIGINT, _handle_signal)
Expand Down

0 comments on commit 3461767

Please sign in to comment.