Skip to content

Commit bfba080

Browse files
Interrupt
1 parent 1a48965 commit bfba080

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/util/BackgroundQueue.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public void drain() {
4747
completedTasks.acquire(pendingTaskCount);
4848
pendingTaskCount = 0;
4949
} catch (InterruptedException e) {
50+
Thread.currentThread().interrupt();
5051
fail("Interrupted while waiting for background task", e);
5152
}
5253
}

0 commit comments

Comments
 (0)