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

Cleanup interrupt even further #3396

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Cleanup interrupt even further #3396

merged 3 commits into from
Oct 10, 2024

Conversation

bufdev
Copy link
Member

@bufdev bufdev commented Oct 10, 2024

This exposes interrupt.Signals, removes interrupt.NotifyContext, and adds interrupt.Handle, which does the functionality that most programs will want.

@bufdev bufdev requested a review from doriable October 10, 2024 15:23
Copy link
Contributor

github-actions bot commented Oct 10, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 10, 2024, 5:01 PM

//
// Signal handling is unregistered automatically by this function when the
// first interrupt signal arrives, which will restore the default interrupt
// signal behabior of Go programs (to exit).
Copy link
Member

Choose a reason for hiding this comment

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

%s/behabior/behavior

@bufdev bufdev merged commit f19fcb3 into main Oct 10, 2024
10 checks passed
@bufdev bufdev deleted the cleanup-interrupt branch October 10, 2024 17:09
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.

2 participants