diff --git a/simpervisor/atexitasync.py b/simpervisor/atexitasync.py index 3a982ac..b0d5e40 100644 --- a/simpervisor/atexitasync.py +++ b/simpervisor/atexitasync.py @@ -69,6 +69,6 @@ def _handle_signal(signum, *args): # call previously registered non-default Python callable handler or exit if prev_handler: - prev_handler(signum, None) + prev_handler(signum, *args) else: sys.exit(0)