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 memory leak in Unregister #145

Merged
merged 2 commits into from
Feb 4, 2019

Conversation

ashrayjain
Copy link
Contributor

@ashrayjain ashrayjain commented Feb 4, 2019

We were leaking memory by failing to clean up metricIds from our internal map. This adds that cleanup while preserving correctness guarantees in Each().


This change is Reviewable

Copy link
Contributor

@bmoylan bmoylan left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@bmoylan bmoylan merged commit ddb09eb into palantir:master Feb 4, 2019
@ashrayjain ashrayjain deleted the aj/fix-memory-leak branch February 4, 2019 20:02
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