mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
unsub from yubikey events on disappearing
This commit is contained in:
parent
53f406a267
commit
41efa96291
1 changed files with 3 additions and 0 deletions
|
@ -302,6 +302,9 @@ namespace Bit.App.Pages
|
||||||
TokenCell.Dispose();
|
TokenCell.Dispose();
|
||||||
TokenCell.Entry.Completed -= Entry_Completed;
|
TokenCell.Entry.Completed -= Entry_Completed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MessagingCenter.Unsubscribe<Application, string>(Application.Current, "GotYubiKeyOTP");
|
||||||
|
MessagingCenter.Unsubscribe<Application>(Application.Current, "ResumeYubiKey");
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void AnotherMethodAsync()
|
private async void AnotherMethodAsync()
|
||||||
|
|
Loading…
Reference in a new issue