From d5ead9ac4eef5173ae2a66324a76a751f2737178 Mon Sep 17 00:00:00 2001 From: Greg Leonard <45019882+greg-el@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:59:15 +0100 Subject: [PATCH] Move executingQueue outside of retryFailtures check --- libraries/browser-tracker-core/src/tracker/out_queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/browser-tracker-core/src/tracker/out_queue.ts b/libraries/browser-tracker-core/src/tracker/out_queue.ts index 9cf1ef1b9..adb8f5449 100644 --- a/libraries/browser-tracker-core/src/tracker/out_queue.ts +++ b/libraries/browser-tracker-core/src/tracker/out_queue.ts @@ -374,8 +374,8 @@ export function OutQueueManager( if (!retryFailures) { LOG.error(`Failed to send events due to: "${e.type}", retry is disabled.`); removeEventsFromQueue(numberToSend); - executingQueue = false; } + executingQueue = false; }; xhr.onerror = failureHandler;