From bdac0136e2763b800e09f2ba365841194cc548d7 Mon Sep 17 00:00:00 2001 From: Mugurell Date: Mon, 11 Jul 2022 19:20:05 +0300 Subject: [PATCH] For #12469 - Cancel previous queries before new suggestions requests --- .../compose/browser/awesomebar/internal/SuggestionFetcher.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/components/compose/awesomebar/src/main/java/mozilla/components/compose/browser/awesomebar/internal/SuggestionFetcher.kt b/components/compose/awesomebar/src/main/java/mozilla/components/compose/browser/awesomebar/internal/SuggestionFetcher.kt index e5a44b901b9..b1091755e90 100644 --- a/components/compose/awesomebar/src/main/java/mozilla/components/compose/browser/awesomebar/internal/SuggestionFetcher.kt +++ b/components/compose/awesomebar/src/main/java/mozilla/components/compose/browser/awesomebar/internal/SuggestionFetcher.kt @@ -11,7 +11,6 @@ import androidx.compose.runtime.mutableStateOf import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.asCoroutineDispatcher -import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.launch import mozilla.components.compose.browser.awesomebar.AwesomeBarFacts import mozilla.components.compose.browser.awesomebar.AwesomeBarFacts.emitAwesomeBarFact