Skip to content

Commit 16df477

Browse files
committed
Ensure that process exits cleanly on handle close.
1 parent b91b4b0 commit 16df477

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## Unpublished
7+
8+
### Fixed
9+
610
## 5.2.25 - 2020-12-11
711

812
### Added
@@ -26,6 +30,10 @@ principal with a delegation token for authorization and authentication:
2630
- Ensure that TableLimits is always null in TableResult on-premise.
2731
- Fixed a problem where SignatureProvider.getAuthorizationString may fail due to an IllegalStateException with error "Timer already cancelled".
2832
- Add timezone offset to the string representation of a TimestampValue to properly conform to ISO 8601 format.
33+
- Fixed request timeout in README.md quickstart example. 60s would cause
34+
problems with some environments
35+
- Cloud only. Fixed issue where a handle wouldn't fully close because of a lingering
36+
thread, interfering with process exit
2937

3038
### Changed
3139
- DefaultRetryHandler now uses incremental backoff mechanism (instead of fixed 1-second delay) and may be extended.

driver/src/main/java/oracle/nosql/driver/iam/SignatureProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ private String getTenantOCID() {
603603

604604
@Override
605605
public void close() {
606+
signatureCache.stop(false);
606607
if (refresher != null) {
607608
refresher.cancel();
608609
refresher = null;

0 commit comments

Comments
 (0)