From: David ‘Bombe’ Roden Date: Mon, 5 Aug 2013 17:16:31 +0000 (+0200) Subject: Close the socket correctly. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3c46401bbb58ae255955d658505de1a6dbdb4c79;p=xudocci.git Close the socket correctly. --- 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); } }