Skip to content

Commit

Permalink
Issue 23: Allow asynchronous close of the socket
Browse files Browse the repository at this point in the history
  • Loading branch information
phejl committed Feb 5, 2016
1 parent 89acf0f commit df289c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions com/etsy/net/UnixDomainSocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ Java_com_etsy_net_UnixDomainSocket_nativeClose(JNIEnv * jEnv,
jclass jClass,
jint jSocketFileHandle)
{
shutdown(jSocketFileHandle, SHUT_RDWR);
return close(jSocketFileHandle);
}

Expand Down

0 comments on commit df289c7

Please sign in to comment.