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

ref(profiling) use cleanup instead of destructor #13661

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Sep 10, 2024

I think what is happening is that by the time our close handler is called, the handler had already been deleted, which causes a use after free error. I also updated the code to check for is_closing which is what that underlying libuv method actually asserts on.

Fixes #13661

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

Fixes #13661 in the GH description points to this PR, we need to change it to the issue.

@AbhiPrasad
Copy link
Member

Also Jonas can I try running codecov ai bot on this PR? I'm very curious what it thinks of the c++

@JonasBa
Copy link
Member Author

JonasBa commented Sep 16, 2024

@AbhiPrasad there is no coverage in cpp so I think its not gonna be happy, but feel free to run it yes :)

@JonasBa JonasBa merged commit ee0b5b5 into develop Sep 16, 2024
131 checks passed
@JonasBa JonasBa deleted the jb/profiling/exit-segfault branch September 16, 2024 14:50
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