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

Avoid memory leak in sample #136

Merged
merged 1 commit into from
Apr 28, 2015
Merged

Avoid memory leak in sample #136

merged 1 commit into from
Apr 28, 2015

Conversation

almozavr
Copy link
Contributor

ActionBarOwner is Application-wide singleton, it's assigned config with anonymous Action0 which will hold ref. to outer class (activity). So, exiting activity won't destroy it due to owner holding ref to config holding ref to action holding ref to activity.

ActionBarOwner is Application-wide singleton, it's assigned config with anonymous Action0 which will hold ref. to outer class (activity). So, exiting activity won't destroy it due to owner holding ref to config holding ref to action holding ref to activity.
rjrjr added a commit that referenced this pull request Apr 28, 2015
Avoid memory leak in sample
@rjrjr rjrjr merged commit c0171bb into square:master Apr 28, 2015
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.

None yet

2 participants