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
1 changed files with 1 additions and 1 deletions

View File

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