Make sure to cancel the migrations when closed
This commit is contained in:
parent
4f68667345
commit
53df21d8db
@ -516,6 +516,9 @@ class MigrationListPresenter(
|
|||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
migrationsJob?.cancel()
|
migrationsJob?.cancel()
|
||||||
|
migratingItems.value.forEach {
|
||||||
|
it.migrationScope.cancel()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user