diff --git a/YubiKit/YubiKit/Connections/SmartCardConnection/YKFSmartCardConnection.m b/YubiKit/YubiKit/Connections/SmartCardConnection/YKFSmartCardConnection.m index d9b5144c..22c74f1a 100644 --- a/YubiKit/YubiKit/Connections/SmartCardConnection/YKFSmartCardConnection.m +++ b/YubiKit/YubiKit/Connections/SmartCardConnection/YKFSmartCardConnection.m @@ -70,8 +70,8 @@ - (void)updateConnections API_AVAILABLE(ios(16.0)) { } }]; } else if (self.connectionController != nil) { - [self.delegate didDisconnectSmartCard:self error:nil]; self.connectionController = nil; + [self.delegate didDisconnectSmartCard:self error:nil]; [self.currentSession clearSessionState]; self.currentSession = nil; }