Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupt handling now includes SIGINT, SIGTERM and SIGHUP, renamed KeyboardInterrupt to Interrupt #413

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

stefan-k
Copy link
Member

@stefan-k stefan-k commented Jan 24, 2024

As suggested a while ago on reddit. By adding the termination feature to ctrlc, we are able to capture SIGINT (Ctrl+C), SIGTERM and SIGHUP.
I changed TerminationReason::KeyboardInterrupt to TerminationReason::Interrupt to reflect that.

@stefan-k stefan-k merged commit a62f6aa into argmin-rs:main Jan 24, 2024
18 checks passed
@stefan-k stefan-k deleted the interrupt branch January 24, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant