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

Add Signal#trap_handler? #14126

Merged
merged 10 commits into from Jan 9, 2024
Merged

Conversation

stakach
Copy link
Contributor

@stakach stakach commented Dec 20, 2023

resolves #13803

Copy link
Member

@straight-shoota straight-shoota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/signal.cr Outdated Show resolved Hide resolved
stakach and others added 2 commits December 28, 2023 08:12
Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
@straight-shoota straight-shoota added this to the 1.12.0 milestone Jan 4, 2024
@straight-shoota straight-shoota changed the title feat: chainable signals Add Signal::trap_handler? Jan 9, 2024
@straight-shoota straight-shoota merged commit 0b57b6c into crystal-lang:master Jan 9, 2024
56 checks passed
@stakach stakach deleted the chainable-signals branch January 10, 2024 04:36
@femto femto mentioned this pull request Jan 10, 2024
@straight-shoota straight-shoota changed the title Add Signal::trap_handler? Add Signal#trap_handler? Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Signal#trap should return previous handler
6 participants