Manually cancel the identity reset handle when dismissing the EncryptionReset screen.

This commit is contained in:
Stefan Ceriu
2024-08-09 13:11:34 +03:00
committed by Stefan Ceriu
parent 4617d0c255
commit 13d2fa7060
3 changed files with 11 additions and 0 deletions
@@ -61,6 +61,12 @@ class EncryptionResetScreenViewModel: EncryptionResetScreenViewModelType, Encryp
}
}
func stop() {
Task {
await identityResetHandle?.cancel()
}
}
// MARK: - Private
private func startResetFlow() async {