lhotari opened a new pull request #10739:
URL: https://github.com/apache/pulsar/pull/10739


   ### Motivation
   
   - when `currentLedger` was null, the scheduled tasks `timeoutTask` and 
`checkLedgerRollTask` wouldn't get cancelled in `asyncClose` method.
   
   ### Modifications
   
   - move the scheduled task cancellation to happen earlier in the `asyncClose` 
method, before there is any `return;` call.
   
   


-- 
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.

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


Reply via email to