From 9875d82a1cb580ea91672010491f6c2165549898 Mon Sep 17 00:00:00 2001 From: Joe Masilotti Date: Wed, 28 Feb 2024 11:15:41 -0800 Subject: [PATCH] Fix snapshot cache issue take 3 --- Source/Turbo Navigator/TurboNavigator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Turbo Navigator/TurboNavigator.swift b/Source/Turbo Navigator/TurboNavigator.swift index a23cf45..082ae6e 100644 --- a/Source/Turbo Navigator/TurboNavigator.swift +++ b/Source/Turbo Navigator/TurboNavigator.swift @@ -143,7 +143,7 @@ extension TurboNavigator: SessionDelegate { public func sessionDidFinishFormSubmission(_ session: Session) { if session == modalSession { - self.session.clearSnapshotCache() + self.session.markSnapshotCacheAsStale() } if let url = session.topmostVisitable?.visitableURL { delegate.formSubmissionDidFinish(at: url)