From 23f0ddcbf63bf1520a6db9b07c4451ab9f097b11 Mon Sep 17 00:00:00 2001 From: Chris Brind Date: Mon, 11 Mar 2024 15:05:07 +0000 Subject: [PATCH] remove some comments --- DuckDuckGo/AutocompleteViewController.swift | 6 ------ 1 file changed, 6 deletions(-) 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) {