Skip to content

Commit 275b4e5

Browse files
author
Greg Soltis
authored
Log pending writes when we disable the network (#604)
* Log pending writes when we disable the network * Fix formatting * Formatting
1 parent 8c2777b commit 275b4e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Firestore/Source/Remote/FSTRemoteStore.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ - (void)startWriteStream {
540540

541541
- (void)cleanUpWriteStreamState {
542542
self.lastBatchSeen = kFSTBatchIDUnknown;
543+
FSTLog(@"Stopping write stream with %lu pending writes",
544+
(unsigned long)[self.pendingWrites count]);
543545
[self.pendingWrites removeAllObjects];
544546
}
545547

0 commit comments

Comments
 (0)