Close the socket correctly.
[xudocci.git] / src / main / java / net / pterodactylus / irc / Connection.java
index f3f41f0..336fdae 100644 (file)
@@ -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);
                }
 
        }