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 e0f0357 commit 8b9bfa7
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 @@ -228,10 +228,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 8b9bfa7

Please sign in to comment.