Skip to content

Commit

Permalink
Fixes crash when start/stop commands where out of sync in the SmartCa…
Browse files Browse the repository at this point in the history
…rdConnection. (#115)
  • Loading branch information
jensutbult authored Nov 14, 2022
1 parent 76f1875 commit d68fde7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ - (void)start {
}

- (void)stop {
if (self.isActive == NO) {
return;
}

self.isActive = NO;
[[TKSmartCardSlotManager defaultManager] removeObserver:self forKeyPath:@"slotNames"];
[self.connectionController endSession];
Expand Down

0 comments on commit d68fde7

Please sign in to comment.