Skip to content

Commit

Permalink
Fix weak self usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarceau committed Jan 21, 2025
1 parent 6161332 commit 4917ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firefox-ios/Client/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
updateTopSitesWidget()

// Cleanup can be a heavy operation, take it out of the startup path. Instead check after a few seconds.
DispatchQueue.main.asyncAfter(deadline: .now() + 5.0) { [weak self] in
DispatchQueue.main.asyncAfter(deadline: .now() + 5.0) { _ in
// TODO: testing to see if this fixes https://mozilla-hub.atlassian.net/browse/FXIOS-7632
// self?.profile.cleanupHistoryIfNeeded()
}
Expand Down

0 comments on commit 4917ecf

Please sign in to comment.