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

add the ability of registerWeak, which could help reduce memory leak #635

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ice871117
Copy link

we have been using this registerWeak function for a while and it runs steady, also reduce the chance to cause memory leak on android. sometimes it is really hard to find a proper place to call unregister.
Empty reference will be removed when new registration happens

@GregoryConrad
Copy link

@greenrobot-team Any update on this? This would be an amazing feature to have and the idea was brought up all the way back in January 2014: #57

@greenrobot-team
Copy link
Collaborator

No update. But as a general hint, you should not expect such fundamental (read potentially breaking) changes making it into the library.

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.

4 participants