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

Cleaner signal handling. #28

Merged
merged 1 commit into from
Mar 19, 2019
Merged

Conversation

ibabushkin
Copy link
Contributor

As discussed in #26, this implements a cleaner signal handling (essentially we remove the SIGINT handler as soon as the tracing child has exited in any way to allow the user to interrupt the remaining computations).

Upon termination of the tracing child, unregister the signal handler for
SIGINT. This way, the user can still comfortably stop the generation of
the flamegraph if necessary.
@spacejam
Copy link
Contributor

looks good! I'll cut a 0.1.12 release now that includes both of your changes!

@spacejam spacejam merged commit e83bcc9 into flamegraph-rs:master Mar 19, 2019
@ibabushkin
Copy link
Contributor Author

ibabushkin commented Mar 19, 2019 via email

leod pushed a commit to leod/flamegraph that referenced this pull request Jun 3, 2023
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