From 230448301bc96469ef7be00691d0ba6f2d950cd2 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 16:04:09 -0500 Subject: [PATCH] [7554] Reverts the initial workaround from PR #16873; based on current data it appears this may have exacerbated the Close All Tabs crash and so reverting this is expected to help significantly reduce the crash rate for the issue. (#17512) (#17514) (cherry picked from commit 928f0da7ea7a2a8a4f0d0b9530fbf9f410381160) Co-authored-by: mattreaganmozilla <145381717+mattreaganmozilla@users.noreply.github.com> --- Client/Frontend/Home/JumpBackIn/JumpBackInViewModel.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Client/Frontend/Home/JumpBackIn/JumpBackInViewModel.swift b/Client/Frontend/Home/JumpBackIn/JumpBackInViewModel.swift index 62d72c0fbd31..29af9ab02fa9 100644 --- a/Client/Frontend/Home/JumpBackIn/JumpBackInViewModel.swift +++ b/Client/Frontend/Home/JumpBackIn/JumpBackInViewModel.swift @@ -153,10 +153,6 @@ class JumpBackInViewModel: FeatureFlaggable { // MARK: - Private: Prepare UI data private extension JumpBackInViewModel { private func refreshData(maxItemsToDisplay: JumpBackInDisplayGroupCount) { - Task { @MainActor [weak self] in - guard let self else { return } - self.recentTabs = await self.jumpBackInDataAdaptor.getRecentTabData() - } jumpBackInList = createJumpBackInList( from: recentTabs, withMaxTabsCount: maxItemsToDisplay.tabsCount