aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-03-20 15:41:44 -0700
committerGravatar GitHub <noreply@github.com>2018-03-20 15:41:44 -0700
commit87e511d52ad400e0a44a60c62325b2fd213930a3 (patch)
tree16bc6ef0777ded7f939145ba537b1b9fac6c938f /Firestore/Source
parent529666594951b86604730a8b400f71d7eedd1e85 (diff)
parent03275eb249946d2f8388e130011831e4bbd17d91 (diff)
Merge pull request #950 from firebase/release-4.11.0
Release 4.11.0
Diffstat (limited to 'Firestore/Source')
-rw-r--r--Firestore/Source/Util/FSTDispatchQueue.mm7
1 files changed, 5 insertions, 2 deletions
diff --git a/Firestore/Source/Util/FSTDispatchQueue.mm b/Firestore/Source/Util/FSTDispatchQueue.mm
index 15d6e7b..52482df 100644
--- a/Firestore/Source/Util/FSTDispatchQueue.mm
+++ b/Firestore/Source/Util/FSTDispatchQueue.mm
@@ -230,8 +230,11 @@ NS_ASSUME_NONNULL_BEGIN
block:(void (^)(void))block {
// While not necessarily harmful, we currently don't expect to have multiple callbacks with the
// same timerID in the queue, so defensively reject them.
- FSTAssert(![self containsDelayedCallbackWithTimerID:timerID],
- @"Attempted to schedule multiple callbacks with id %ld", (unsigned long)timerID);
+ // TODO(b/74749605): If a user change happens while offline we can end up with multiple backoff
+ // callbacks in the dispatch queue. This is non-harmful so I'm just disabling the assert until we
+ // get that cleaned up.
+ // FSTAssert(![self containsDelayedCallbackWithTimerID:timerID],
+ // @"Attempted to schedule multiple callbacks with id %ld", (unsigned long)timerID);
FSTDelayedCallback *delayedCallback = [FSTDelayedCallback createAndScheduleWithQueue:self
timerID:timerID
delay:delay