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

Fix view model crashes when long-running task finishes after model is cleared #1259

Merged
merged 1 commit into from
Apr 16, 2018

Conversation

SUPERCILEX
Copy link
Collaborator

Man, gotta love assumptions. 😆 Anyway, I looked through a few of our view models and since we operate on a subscription model, it doesn't really matter if the model keeps doing stuff beyond onCleared. The alternative is adding a gazillion isActive checks... so nah. 😉

… cleared

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
@SUPERCILEX SUPERCILEX requested a review from samtstern as a code owner April 16, 2018 22:37
@samtstern samtstern merged commit 96b3467 into firebase:version-3.4.0-dev Apr 16, 2018
@samtstern samtstern added this to the 3.4.0 milestone Apr 16, 2018
@SUPERCILEX SUPERCILEX deleted the npe branch April 16, 2018 23:54
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.

2 participants