-
Notifications
You must be signed in to change notification settings - Fork 26
fix(hook): Add missing hook_table_revert impl #286
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
Conversation
willxinc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just a question about the failure case, as well as an overall question about when this would be used
| sym = &syms[j]; | ||
|
|
||
| if (hook_table_match_proc(&iate, sym)) { | ||
| // Only revert-able if the original pointer was stored previously |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we log in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have logging available there. This is the capnhook package. =/
Apparently forgotten to get updated to reflect the currently supported versions correctly.
Added reasoning to commit body. |
Allow hooks to cleanup when they are shut down.
fix(hook): Add missing hook_table_revert impl
Allow hooks to cleanup when they are shut down.
Stack created with Sapling. Best reviewed with ReviewStack.