Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make Timer task run as a daemon thread #20014

Merged
merged 3 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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