1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-04 08:50:18 +01:00

unsub from yubikey events on disappearing

This commit is contained in:
Kyle Spearrin 2018-01-18 13:24:23 -05:00
parent 53f406a267
commit 41efa96291

View File

@ -302,6 +302,9 @@ namespace Bit.App.Pages
TokenCell.Dispose();
TokenCell.Entry.Completed -= Entry_Completed;
}
MessagingCenter.Unsubscribe<Application, string>(Application.Current, "GotYubiKeyOTP");
MessagingCenter.Unsubscribe<Application>(Application.Current, "ResumeYubiKey");
}
private async void AnotherMethodAsync()