-
Notifications
You must be signed in to change notification settings - Fork 79
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
Multiple set_handler calls don't properly overwrite? 🤔 #118
Comments
Hi. You are correct, this is a bug. It has been there since the introduction of |
Actually, I'm taking it back. The wording for the logic is quite poor as my initial thoughts were too that it's not working properly. |
So there is no way to replace a handler with another. Maybe there should be. |
Perhaps. I'm open to code contributions if they don't make the crate too complicated. Closing this issue for now as the original question was answered. |
There is the discussion about reverting the signal handler #106. This would allow a new one to be placed after reverting the originally set handler back. |
Hello!
Not sure if I'm holding it wrong or... 🤔
The docs for
set_handler
say:and for
try_set_handler
say:But a modified snippet from the README like this:
panics with:
So it seems
set_handler
can return MultipleHandlers? 🤔I'm on OSX 14.4.1
The text was updated successfully, but these errors were encountered: