Skip to content

Commit

Permalink
[misc] ensure multi host connection close call when not succeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Sep 1, 2023
1 parent 4434a29 commit 706016b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ public void abort(Executor executor) throws SQLException {
@Override
public void close() throws SQLException {
closed = true;
currentClient.close();
if (currentClient != null) currentClient.close();
}

@Override
Expand Down

0 comments on commit 706016b

Please sign in to comment.