Skip to content

Conversation

@SUPERCILEX
Copy link
Collaborator

@samtstern I think I've finally eradicated all the onDataChanged bugs! 😄

This PR fixes the edge case where if the key array calls onDataChanged but is empty, the index array won't notify its client because there were no onChildChanged events to switch the mHasPendingMoveOrDelete flag.

@samtstern
Copy link
Contributor

LGTM!

@samtstern samtstern merged commit 2b8a8ac into firebase:version-2.0.0-dev Jun 8, 2017
@SUPERCILEX SUPERCILEX deleted the index-onDataChanged branch June 8, 2017 16:56
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