kezhuw commented on code in PR #464:
URL: https://github.com/apache/curator/pull/464#discussion_r1214056837
##########
curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java:
##########
@@ -430,6 +448,8 @@ public void close()
{
ensembleTracker.close();
}
+ backgroundOperations.forEach(this::closeOperation);
+ backgroundOperations.clear();
Review Comment:
Hmm, the `DelayQueue::drainTo` filters elements based on
`Delayed::getDelay`. This is not what we want here. The test could not last 200
runs. I plan to resort to `toArray` for this.
--
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]