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

Fix short lived callback lifetimes #90

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

arg0d
Copy link
Contributor

@arg0d arg0d commented Sep 2, 2024

Alternative to #89 and #88, this is the simplest solution, assigning unrelated ID for the same callback object. I like the simplicity of this, but in my mind it may be difficult to debug callback issues if callback ID is completely unrelated for the same callback. But maybe I'm overthinking this?

Signed-off-by: Kristupas Antanavičius <kristupas.antanavicius@nordsec.com>
@arg0d arg0d marked this pull request as ready for review September 2, 2024 14:49
@matszczygiel
Copy link

I like the simplicity of the solution +1

Copy link
Member

@Lipt0nas Lipt0nas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same sentiment - +1 for simplicity

@arg0d arg0d merged commit c8c65f4 into main Sep 3, 2024
5 checks passed
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