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 #365

Merged
merged 1 commit into from Dec 13, 2022
Merged

Fix memory leak #365

merged 1 commit into from Dec 13, 2022

Conversation

gklijs
Copy link
Collaborator

@gklijs gklijs commented Dec 9, 2022

In response to #362, it's indeed a problem. This uses the suggested solution by turning it into a map. So the new ones will replace the old ones. Reusing the consumerIndex so we are sure the correct one is replaced.

@sonarcloud
Copy link

sonarcloud bot commented Dec 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@smcvb smcvb left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍
Don't forget to close the other PR as solved once you merge this one!

@gklijs gklijs merged commit 2efe367 into master Dec 13, 2022
@gklijs gklijs deleted the fix_memory_leak branch December 13, 2022 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants