2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #26197: Cancel history list update on fragment destroyed.

This commit is contained in:
mcarare 2022-07-27 14:13:43 +03:00 committed by mergify[bot]
parent b605ee0a8e
commit 11a7085e46

View File

@ -200,7 +200,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler {
}
}
lifecycleScope.launch {
viewLifecycleOwner.lifecycleScope.launch {
history.collect {
historyView.historyAdapter.submitData(it)
}