For #26197: Cancel history list update on fragment destroyed.
This commit is contained in:
parent
b605ee0a8e
commit
11a7085e46
|
@ -200,7 +200,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler {
|
|||
}
|
||||
}
|
||||
|
||||
lifecycleScope.launch {
|
||||
viewLifecycleOwner.lifecycleScope.launch {
|
||||
history.collect {
|
||||
historyView.historyAdapter.submitData(it)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue