protected override void OnDisappearing()
        {
            base.OnDisappearing();
            ListenYubiKey(false);

            if (TokenCell != null)
            {
                TokenCell.Dispose();
                TokenCell.Entry.Completed -= Entry_Completed;
            }
        }
Exemple #2
0
        protected override void OnDisappearing()
        {
            base.OnDisappearing();
            ListenYubiKey(false);

            if (TokenCell != null)
            {
                TokenCell.Dispose();
                TokenCell.Entry.Completed -= Entry_Completed;
            }

            MessagingCenter.Unsubscribe <Application, string>(Application.Current, "GotYubiKeyOTP");
            MessagingCenter.Unsubscribe <Application>(Application.Current, "ResumeYubiKey");
        }