Skip to content

Commit

Permalink
Actually ignore events on inactive streams, rather than just logging …
Browse files Browse the repository at this point in the history
…that we're going to. (firebase#790)
  • Loading branch information
Greg Soltis committed Feb 14, 2018
1 parent fe19fca commit 0f3c24b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Firestore/Source/Remote/FSTStream.mm
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ - (void)writeValue:(id)value __used {
FSTStrongify(self);
if (![self isStarted]) {
FSTLog(@"%@ Ignoring stream message from inactive stream.", NSStringFromClass([self class]));
return;
}

if (!self.messageReceived) {
Expand Down

0 comments on commit 0f3c24b

Please sign in to comment.