Skip to content

Commit

Permalink
Change promise resolution so that queue can't get stuck in a paused s…
Browse files Browse the repository at this point in the history
…tate
  • Loading branch information
tgolen committed Aug 16, 2023
1 parent 9dbd78b commit b7a862e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Onyx.connect({
lastUpdateIDAppliedToClient,
});
SequentialQueue.pause();
getMissingOnyxUpdates(lastUpdateIDAppliedToClient, lastUpdateIDFromServer).then(SequentialQueue.unpause);
getMissingOnyxUpdates(lastUpdateIDAppliedToClient, lastUpdateIDFromServer).finally(SequentialQueue.unpause);
}

if (lastUpdateIDFromServer > lastUpdateIDAppliedToClient) {
Expand Down

0 comments on commit b7a862e

Please sign in to comment.