JackieTien97 opened a new pull request, #16310:
URL: https://github.com/apache/iotdb/pull/16310

   This pull request makes a small but important change to the 
`ThriftConnection` class to ensure resources are properly released. The change 
moves the transport closing logic into a `finally` block, guaranteeing that the 
transport is closed even if an exception occurs during session closing.
   
   - Resource management improvement:
     * Ensured that `transport.close()` is always called by moving it into a 
`finally` block in the `close()` method of `ThriftConnection`, improving 
reliability and preventing potential resource leaks.


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