Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
?
Browse files Browse the repository at this point in the history
Just like how the sockets module in bloop does…
  • Loading branch information
alexarchambault committed Dec 7, 2021
1 parent 9d8ebb8 commit 97b979a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97b979a

Please sign in to comment.