Skip to content

Conversation

Copy link
Collaborator

@willxinc willxinc left a 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
Copy link
Collaborator

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?

Copy link
Contributor Author

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.
@icex2
Copy link
Contributor Author

icex2 commented Feb 25, 2024

Looks good to me, just a question about the failure case, as well as an overall question about when this would be used

Added reasoning to commit body.

Allow hooks to cleanup when they are shut down.
@icex2 icex2 merged commit 5833197 into master Feb 25, 2024
@icex2 icex2 deleted the pr286 branch February 25, 2024 08: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.

3 participants