We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9724da + 9a6ef82 commit ba61656Copy full SHA for ba61656
1 file changed
here-oauth-client/src/main/java/com/here/account/util/RefreshableResponseProvider.java
@@ -199,13 +199,13 @@ public interface ExpiringResponse {
199
}
200
201
/**
202
- * Shutdown the background threads
+ * Shutdown the background threads without waiting for queued tasks
203
*/
204
public void shutdown() {
205
if (started) {
206
try {
207
LOG.info("Shutting down refresh token thread");
208
- scheduledExecutorService.shutdown();
+ scheduledExecutorService.shutdownNow();
209
} finally {
210
started = false;
211
0 commit comments