diff options
author | Greg Soltis <gsoltis@google.com> | 2018-02-13 16:02:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-13 16:02:53 -0800 |
commit | 0f3c24b22fb6f708c8c0b55321fd21be7b0b0bd2 (patch) | |
tree | eccc9f70a9d982c464b63728e1fb167d637f8c88 /Firestore | |
parent | fe19fca0e521e3765e4ecf6a87b0a3d622a52b92 (diff) |
Actually ignore events on inactive streams, rather than just logging that we're going to. (#790)
Diffstat (limited to 'Firestore')
-rw-r--r-- | Firestore/Source/Remote/FSTStream.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Firestore/Source/Remote/FSTStream.mm b/Firestore/Source/Remote/FSTStream.mm index e5cbf87..c1479c5 100644 --- a/Firestore/Source/Remote/FSTStream.mm +++ b/Firestore/Source/Remote/FSTStream.mm @@ -548,6 +548,7 @@ static const NSTimeInterval kIdleTimeout = 60.0; FSTStrongify(self); if (![self isStarted]) { FSTLog(@"%@ Ignoring stream message from inactive stream.", NSStringFromClass([self class])); + return; } if (!self.messageReceived) { |