Skip to content

Commit 182cd2b

Browse files
Release 2.4.2
1 parent dd8f491 commit 182cd2b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [2.4.2] - 2025-01-27
810
### Fixed
911
- Correct card disconnection logic when a card was present and `checkCardPresence()` is called.
1012

@@ -87,7 +89,8 @@ This is the initial release.
8789
It follows the extraction of Keyple 1.0 components contained in the `eclipse-keyple/keyple-java` repository to dedicated repositories.
8890
It also brings many major API changes.
8991

90-
[unreleased]: https://github.com/eclipse-keyple/keyple-plugin-pcsc-java-lib/compare/2.4.1...HEAD
92+
[unreleased]: https://github.com/eclipse-keyple/keyple-plugin-pcsc-java-lib/compare/2.4.2...HEAD
93+
[2.4.2]: https://github.com/eclipse-keyple/keyple-plugin-pcsc-java-lib/compare/2.4.1...2.4.2
9194
[2.4.1]: https://github.com/eclipse-keyple/keyple-plugin-pcsc-java-lib/compare/2.4.0...2.4.1
9295
[2.4.0]: https://github.com/eclipse-keyple/keyple-plugin-pcsc-java-lib/compare/2.3.1...2.4.0
9396
[2.3.1]: https://github.com/eclipse-keyple/keyple-plugin-pcsc-java-lib/compare/2.3.0...2.3.1

src/main/java/org/eclipse/keyple/plugin/pcsc/PcscReaderAdapter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ private void closePhysicalChannelSafely() {
294294
}
295295
} catch (Exception e) {
296296
// NOP
297+
} finally {
298+
resetContext();
297299
}
298300
}
299301

0 commit comments

Comments
 (0)