Skip to content

Commit

Permalink
fix: OathSession not clearing KeyCollector on disposal
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Dec 19, 2024
1 parent 0c7f916 commit 1160d51
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Yubico.YubiKey/src/Yubico/YubiKey/Oath/OathSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,9 @@ protected override void Dispose(bool disposing)
{
if (disposing)
{
return;
KeyCollector = null;
base.Dispose(disposing);
}

KeyCollector = null;
base.Dispose(disposing);
}
}
}

0 comments on commit 1160d51

Please sign in to comment.