Skip to content

Commit

Permalink
Fix snapshot cache issue take 3
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasilotti committed Feb 28, 2024
1 parent 0e488b5 commit 9875d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Turbo Navigator/TurboNavigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9875d82

Please sign in to comment.