Make sure to cancel the migrations when closed
This commit is contained in:
parent
4f68667345
commit
53df21d8db
1 changed files with 3 additions and 0 deletions
|
|
@ -516,6 +516,9 @@ class MigrationListPresenter(
|
|||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
migrationsJob?.cancel()
|
||||
migratingItems.value.forEach {
|
||||
it.migrationScope.cancel()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue