From b7a862eb9851b6cda351d99f86b628ed9702a39f Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Wed, 16 Aug 2023 14:37:08 -0600 Subject: [PATCH] Change promise resolution so that queue can't get stuck in a paused state --- src/libs/actions/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/App.js b/src/libs/actions/App.js index 157f40a47b71..709ad2133e46 100644 --- a/src/libs/actions/App.js +++ b/src/libs/actions/App.js @@ -263,7 +263,7 @@ Onyx.connect({ lastUpdateIDAppliedToClient, }); SequentialQueue.pause(); - getMissingOnyxUpdates(lastUpdateIDAppliedToClient, lastUpdateIDFromServer).then(SequentialQueue.unpause); + getMissingOnyxUpdates(lastUpdateIDAppliedToClient, lastUpdateIDFromServer).finally(SequentialQueue.unpause); } if (lastUpdateIDFromServer > lastUpdateIDAppliedToClient) {