diff --git a/app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt b/app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt index a2510481ae..2ee6b55912 100644 --- a/app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt @@ -200,7 +200,7 @@ class HistoryFragment : LibraryPageFragment(), UserInteractionHandler { } } - lifecycleScope.launch { + viewLifecycleOwner.lifecycleScope.launch { history.collect { historyView.historyAdapter.submitData(it) }