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

Use IActivityLifecycleCallbacks to remove static ref to Activity #29

Merged
merged 1 commit into from
Mar 20, 2019

Conversation

jonathanpeppers
Copy link
Owner

It feels a bit hairy to hold onto an Activity instance that could get destroyed.

This registers an IActivityLifecycleCallbacks listener to null out this reference.

It feels a bit hairy to hold onto an `Activity` instance that could get destroyed.

This registers an `IActivityLifecycleCallbacks` listener to null out this reference.
@jonathanpeppers jonathanpeppers merged commit 967297b into master Mar 20, 2019
@jonathanpeppers jonathanpeppers deleted the lifecycle branch March 20, 2019 21:37
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

1 participant