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

Decrement refcount after registering info loggers. #105

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

jevolk
Copy link
Contributor

@jevolk jevolk commented Oct 23, 2024

It turns out neither of our loggers deleted their handles after passing them to set_info_log. Behind each of these handles is a shared_ptr to the logger which never got decremented all the way on shutdown, reading as a memory-leak.

Signed-off-by: Jason Volk <jason@zemos.net>
@zaidoon1 zaidoon1 merged commit c3a637a into zaidoon1:master Oct 23, 2024
7 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.

2 participants