diff --git a/DuckDuckGo/AutocompleteViewController.swift b/DuckDuckGo/AutocompleteViewController.swift index 0b2b3fdcc8..570c8fd68a 100644 --- a/DuckDuckGo/AutocompleteViewController.swift +++ b/DuckDuckGo/AutocompleteViewController.swift @@ -165,14 +165,8 @@ class AutocompleteViewController: UIViewController { } private func cancelInFlightRequests() { -// if let inFlightRequest = lastRequest { -// inFlightRequest.cancel() -// lastRequest = nil -// } - task?.cancel() task = nil - } private func requestSuggestions(query: String) {