Skip to content

Commit df183a5

Browse files
authored
Remove assert I accidentally left in (I meant to remove it when I re-added the defensive check above). (#565)
1 parent 1b3ba41 commit df183a5

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

packages/firestore/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Unreleased
2-
- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could
3-
cause a crash if a user signs out while the client is offline, resulting in
4-
an error of "Attempted to schedule multiple operations with timer id
2+
- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could
3+
cause a crash if a user signs out while the client is offline, resulting in
4+
an error of "Attempted to schedule multiple operations with timer id
55
listen_stream_connection_backoff".
66

77
# 0.3.5

packages/firestore/src/remote/persistent_stream.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,6 @@ export abstract class PersistentStream<
472472
return;
473473
}
474474

475-
assert(
476-
this.state === PersistentStreamState.Backoff,
477-
'Backoff should have been canceled if we left the Backoff state.'
478-
);
479-
480475
this.state = PersistentStreamState.Initial;
481476
this.start(listener);
482477
assert(this.isStarted(), 'PersistentStream should have started');

0 commit comments

Comments
 (0)