kezhuw commented on code in PR #1278:
URL: https://github.com/apache/curator/pull/1278#discussion_r2330560679


##########
curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java:
##########
@@ -383,6 +385,16 @@ public void close() {
                 }
             }
 
+            if (!isExternalRunSafeService) {
+                ((ExecutorService) runSafeService).shutdownNow();
+                try {
+                    ((ExecutorService) 
runSafeService).awaitTermination(maxCloseWaitMs, TimeUnit.MILLISECONDS);

Review Comment:
   We have two `maxCloseWaitMs` now. I am ok for it to be this for now, we can 
improve it in separated pr.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to