diff --git a/packages/firestore/CHANGELOG.md b/packages/firestore/CHANGELOG.md index 13899391aa2..24f75bf6ee2 100644 --- a/packages/firestore/CHANGELOG.md +++ b/packages/firestore/CHANGELOG.md @@ -1,7 +1,7 @@ # Unreleased -- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could - cause a crash if a user signs out while the client is offline, resulting in - an error of "Attempted to schedule multiple operations with timer id +- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could + cause a crash if a user signs out while the client is offline, resulting in + an error of "Attempted to schedule multiple operations with timer id listen_stream_connection_backoff". # 0.3.5 diff --git a/packages/firestore/src/remote/persistent_stream.ts b/packages/firestore/src/remote/persistent_stream.ts index 0a8468d50e8..8d087c7ba10 100644 --- a/packages/firestore/src/remote/persistent_stream.ts +++ b/packages/firestore/src/remote/persistent_stream.ts @@ -472,11 +472,6 @@ export abstract class PersistentStream< return; } - assert( - this.state === PersistentStreamState.Backoff, - 'Backoff should have been canceled if we left the Backoff state.' - ); - this.state = PersistentStreamState.Initial; this.start(listener); assert(this.isStarted(), 'PersistentStream should have started');