You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2021/08/25 10:54:38 UTC

[GitHub] [zeppelin] Reamer commented on pull request #4208: [ZEPPELIN-5497] Memory leak of GenericObjectPool

Reamer commented on pull request #4208:
URL: https://github.com/apache/zeppelin/pull/4208#issuecomment-905393394


   We should implement the [`AutoCloseable` interface](https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html) in this class.
   Maybe we can use the `try-with-resources` statement in the class that uses the class.
   Of course we have to rename the function name from `shutdown` to `close`.


-- 
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: dev-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org