We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c07137d commit 6f89e26Copy full SHA for 6f89e26
marklogic-client-api/src/main/java/com/marklogic/client/dataservices/impl/ExecEndpointImpl.java
@@ -254,7 +254,7 @@ public Boolean call() throws InterruptedException{
254
submitTask(this);
255
}
256
else {
257
- if (aliveCallContextCount.decrementAndGet() == 0) {
+ if (aliveCallContextCount.decrementAndGet() == 0 && getCallerThreadPoolExecutor() != null) {
258
getCallerThreadPoolExecutor().shutdown();
259
260
0 commit comments