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:
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
Block a user