coderzc commented on code in PR #17344:
URL: https://github.com/apache/pulsar/pull/17344#discussion_r966690592
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/delayed/InMemoryDelayedDeliveryTracker.java:
##########
@@ -273,10 +274,10 @@ public void run(Timeout timeout) throws Exception {
@Override
public void close() {
- priorityQueue.close();
if (timeout != null) {
timeout.cancel();
}
+ priorityQueue.close();
Review Comment:
It seems to should not be in this PR to change this, I revert it and improve
it in another 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]