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

Clear the metrics dictionary on close (fixes a memory leak). #1569

Merged
merged 1 commit into from
Aug 31, 2018

Conversation

kishorenc
Copy link
Contributor

@kishorenc kishorenc commented Aug 10, 2018

Without this, the dictionary is not being garbage collected and is leaking memory. After applying this patch, the memory leak I described here was fixed.


This change is Reviewable

Otherwise, the dictionary is not being garbage collected and is leaking memory.
@dpkp
Copy link
Owner

dpkp commented Aug 31, 2018

Great catch!

@dpkp dpkp merged commit 5068229 into dpkp:master Aug 31, 2018
@kkxue
Copy link

kkxue commented Nov 6, 2018

witness (version 1.4.2)

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