Merge branch 'master' of github.com:xetorthio/jedis

This commit is contained in:
Jungtaek Lim
2014-11-11 07:56:51 +09:00
2 changed files with 2 additions and 1 deletions

View File

@@ -155,8 +155,8 @@ public class Connection implements Closeable {
if (isConnected()) {
try {
inputStream.close();
outputStream.close();
if (!socket.isClosed()) {
outputStream.close();
socket.close();
}
} catch (IOException ex) {