fix check; refs #29
This commit is contained in:
@@ -242,7 +242,7 @@ namespace pcsc {
|
||||
CRYPTOLOG("Disconnect Reader");
|
||||
_state = SCardDisconnect(_id, SCARD_RESET_CARD);
|
||||
if (!std::uncaught_exception())
|
||||
_connection->check("disconnect smartcard");
|
||||
_connection->check(_state, "disconnect smartcard");
|
||||
}
|
||||
|
||||
//! Get reader status.
|
||||
|
Reference in New Issue
Block a user