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

Expose a method to remove a stale reference for subclasses that overr… #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

anuraaga
Copy link

…ide expungeStaleEntries.

As far as I can tell, there isn't a proper way of a subclass extending and overriding expungeStaleEntries since there's no way to actually remove the reference from the map, so it's a guaranteed memory leak. This exposes the removal for subclasses.

/cc @adriancole

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.

1 participant