AnonHxy opened a new pull request, #4007:
URL: https://github.com/apache/bookkeeper/pull/4007

   Descriptions of the changes in this PR:
   
   
   
   ### Motivation
   
   We should recycle `LongWrapper` in  `finally` block to avoid memory leak. 
Beacuase `flush()` and `removeDeletedLedgers()` could throw Exception.
   
   ### Changes
   Recycle `LongWrapper` in  `finally` block
   
   
   
   


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