Skip to content

Commit

Permalink
Address+Fix redis#3353
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Apr 27, 2023
1 parent 81fc2d6 commit 0d6e7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/jedis/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ public void disconnect() {
outputStream.flush();
socket.close();
} catch (IOException ex) {
broken = true;
throw new JedisConnectionException(ex);
} finally {
IOUtils.closeQuietly(socket);
setBroken();
}
}
}
Expand Down

0 comments on commit 0d6e7c5

Please sign in to comment.