Skip to content

Commit

Permalink
make Timer task run as a daemon thread (Azure#20014)
Browse files Browse the repository at this point in the history
* make timer run as daemon thread

* update changelog
  • Loading branch information
yiliuTo authored Mar 24, 2021
1 parent 6e2f14d commit a62580c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 3.4.0-beta.1 (Unreleased)

### Key Bug Fixes
- Fix bug of Keyvault refresh Timer task blocking application termination.

## 3.3.0 (2021-03-22)
### New Features
Expand Down
3 changes: 2 additions & 1 deletion sdk/spring/azure-spring-boot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 3.4.0-beta.1 (Unreleased)

### Key Bug Fixes
- Fix bug of Keyvault refresh Timer task blocking application termination.

## 3.3.0 (2021-03-22)
### New Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public KeyVaultOperation(
LOG.error("Error of terminating Timer", runtimeException);
}
}
timer = new Timer();
timer = new Timer(true);
final TimerTask task = new TimerTask() {
@Override
public void run() {
Expand Down

0 comments on commit a62580c

Please sign in to comment.