[
https://issues.apache.org/jira/browse/IOTDB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186887#comment-17186887
]
wangyanhong commented on IOTDB-855:
-----------------------------------
hi,i'd like to do this issue
> SessionPool resources will not be put back if RuntimeException occurs
> ---------------------------------------------------------------------
>
> Key: IOTDB-855
> URL: https://issues.apache.org/jira/browse/IOTDB-855
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Client/CLI
> Reporter: Wei Shao
> Priority: Major
>
> In IoTDB SessionPool, When RuntimeException occurs, e.g. ClassCastException,
> NullPointerException, _putBack(Session session)_ method will not be executed,
> which leads to resource leak.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)