diff --git a/DuckDuckGo/Onboarding/ContextualOnboarding/ContextualOnboardingStateMachine.swift b/DuckDuckGo/Onboarding/ContextualOnboarding/ContextualOnboardingStateMachine.swift index 7c990e0e33..d400eac518 100644 --- a/DuckDuckGo/Onboarding/ContextualOnboarding/ContextualOnboardingStateMachine.swift +++ b/DuckDuckGo/Onboarding/ContextualOnboarding/ContextualOnboardingStateMachine.swift @@ -133,7 +133,7 @@ final class ContextualOnboardingStateMachine: ContextualOnboardingDialogTypeProv } } - private var lastVisitTab: Tab? + private weak var lastVisitTab: Tab? private var lastVisitSite: URL? private var notBlockedTrackerSeen: Bool = false