Skip to content

Commit

Permalink
Update concurrency around httpCookieStore
Browse files Browse the repository at this point in the history
  • Loading branch information
miasma13 committed Nov 27, 2024
1 parent 294df75 commit 152e3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ import os.log
return nil
}

return WKWebsiteDataStore.current().httpCookieStore
return WKHTTPCookieStoreWrapper(store: WKWebsiteDataStore.current().httpCookieStore)
}, eventMapping: SubscriptionCookieManageEventPixelMapping())


Expand Down Expand Up @@ -653,7 +653,7 @@ import os.log
}
}

Task { @MainActor in
Task {
await subscriptionCookieManager.refreshSubscriptionCookie()
}

Expand Down

0 comments on commit 152e3a4

Please sign in to comment.