Skip to content

Commit

Permalink
JS: Fix unpause local state on restart (#29071)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 1860bb2908300fe09bb16f68a356024a4d25484d
  • Loading branch information
xixixao authored and Convex, Inc. committed Aug 21, 2024
1 parent 6b9d565 commit a8d77b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions npm-packages/convex/src/browser/sync/local_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export class LocalSyncState {
restart(
oldRemoteQueryResults: Set<QueryId>,
): [QuerySetModification, Authenticate?] {
this.paused = false;
this.outstandingQueriesOlderThanRestart.clear();
const modifications = [];
for (const localQuery of this.querySet.values()) {
Expand Down

0 comments on commit a8d77b7

Please sign in to comment.