From 3c46401bbb58ae255955d658505de1a6dbdb4c79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 5 Aug 2013 19:16:31 +0200 Subject: [PATCH] Close the socket correctly. --- src/main/java/net/pterodactylus/irc/Connection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/irc/Connection.java b/src/main/java/net/pterodactylus/irc/Connection.java index f3f41f0..336fdae 100644 --- a/src/main/java/net/pterodactylus/irc/Connection.java +++ b/src/main/java/net/pterodactylus/irc/Connection.java @@ -748,6 +748,7 @@ public class Connection extends AbstractExecutionThreadService implements Servic public void close() throws IOException { Closeables.close(outputStream, true); Closeables.close(inputStreamReader, true); + Closeables.close(inputStream, true); } } -- 2.7.4