Skip to content

Commit 4e66230

Browse files
committed
remove excess release_connection call
1 parent ea3b0b0 commit 4e66230

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/databricks/sql/backend/thrift_backend.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,7 @@ def close_session(self, session_id: SessionId) -> None:
619619
try:
620620
self.make_request(self._client.CloseSession, req)
621621
finally:
622-
self._transport.release_connection()
623-
self._transport.close()
622+
self._transport.close()
624623

625624
def _check_command_not_in_error_or_closed_state(
626625
self, op_handle, get_operations_resp

0 commit comments

Comments
 (0)