Merge pull request #133 from Tinow/fix_executor_leak

Shutdown executorService on AbstractHttpAsyncClientBase shutdown
This commit is contained in:
Oleg Kalnichevski 2019-01-08 12:10:30 +01:00 committed by GitHub
commit 8c4cad0057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ abstract class AbstractHttpAsyncClientBase extends CloseableHttpAsyncClient {
}
ioReactor.initiateShutdown();
ioReactor.close(closeMode);
executorService.shutdownNow();
}
@Override