Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

ctrlc -> signal-hook, remove the handler when done #47

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

jonas-schievink
Copy link
Contributor

This allows canceling the backtrace printing, which is sometimes broken and loops infinitely.

@jonas-schievink
Copy link
Contributor Author

This seems to work fine, merging to help with #46

@jonas-schievink jonas-schievink merged commit baa06f2 into main Sep 1, 2020
@jonas-schievink jonas-schievink deleted the signal-hook branch September 1, 2020 16:21
@kaspar030
Copy link

This allows canceling the backtrace printing, which is sometimes broken and loops infinitely.

This still does not work for me. When doing "cargo run" or directly "probe-run ..." for testing #46, ctrl-c doesn't have any effect.

@jonas-schievink
Copy link
Contributor Author

Ah, sorry, I should have properly read the docs of signal_hook::unregister

@jonas-schievink
Copy link
Contributor Author

Opened #51 to fix this

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants