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 subtle memory leak issue #82

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Fix subtle memory leak issue #82

merged 1 commit into from
Nov 17, 2023

Conversation

adams85
Copy link
Contributor

@adams85 adams85 commented Nov 9, 2023

Describe the purpose of your pull request

A hook event handler which closes over the client instance should not prevent the client from being collected by the GC when user has no more references to the client.

Requirement checklist (only if applicable)

  • I have covered the applied changes with automated tests.
  • I have executed the full automated test set against my changes.
  • I have validated my changes against all supported platform versions.
  • I have read and accepted the contribution agreement.

@adams85 adams85 requested a review from a team as a code owner November 9, 2023 19:21
@adams85 adams85 force-pushed the fix/closure-memory-leak branch 2 times, most recently from 730196c to 59c098e Compare November 9, 2023 19:28
Copy link

sonarcloud bot commented Nov 10, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

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

98.4% 98.4% Coverage
6.7% 6.7% Duplication

warning The version of Java (11.0.21) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@adams85 adams85 merged commit d2aa885 into master Nov 17, 2023
6 of 7 checks passed
@adams85 adams85 deleted the fix/closure-memory-leak branch November 17, 2023 10:39
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