diff --git a/ipcsocket/src/main/java/org/scalasbt/ipcsocket/UnixDomainSocket.java b/ipcsocket/src/main/java/org/scalasbt/ipcsocket/UnixDomainSocket.java index ed7a1d4..0e4e9d3 100644 --- a/ipcsocket/src/main/java/org/scalasbt/ipcsocket/UnixDomainSocket.java +++ b/ipcsocket/src/main/java/org/scalasbt/ipcsocket/UnixDomainSocket.java @@ -109,6 +109,8 @@ private void doShutdown(int how) throws IOException { } public void close() throws IOException { + shutdownInput(); + shutdownOutput(); super.close(); // This might not close the FD right away. In case we are about // to read or write on another thread, it will delay the close