Skip to content

Commit dfa67b0

Browse files
committed
SyncEngine.java: Removed enqueued limbo resolutions in addition to active ones in removeLimboTarget()
1 parent a7d469e commit dfa67b0

File tree

1 file changed

+1
-0
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore/core

1 file changed

+1
-0
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/core/SyncEngine.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ private void removeLimboTarget(DocumentKey key) {
569569
// the key won't exist in `limboTargetsByKey`. Only do the cleanup if we still have the target.
570570
Integer targetId = activeLimboTargetsByKey.get(key);
571571
Logger.warn("zzyzx", "removeLimboTarget() start; key=" + key + " targetId=" + targetId + " " + describeKeyInActiveLimboTargetsByKey(key));
572+
enqueuedLimboResolutions.remove(key);
572573
if (targetId != null) {
573574
remoteStore.stopListening(targetId);
574575
activeLimboTargetsByKey.remove(key);

0 commit comments

Comments
 (0)