Skip to content

Potential for memory leakage #3

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

Open
RacoonDog opened this issue May 16, 2023 · 0 comments
Open

Potential for memory leakage #3

RacoonDog opened this issue May 16, 2023 · 0 comments

Comments

@RacoonDog
Copy link
Contributor

Subscribing an object to an EventBus via EventBus.subscribe(Object) adds said object and it's associated listeners to the listenerCache during the getListeners call. This map is never shrunk/cleared, resulting in said objects never being able to be garbage collected, even after being unsubscribed.

@hexadecimal233 hexadecimal233 mentioned this issue Jul 14, 2023
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 a pull request may close this issue.

1 participant