Please sign in to comment.
Fix leak of duplicate file descriptor for bound sockets.
`socket.fromfd` does not close the original file descriptor, so we have to explicitly close it to avoid a leak. See also: http://bugs.python.org/issue10099
- Loading branch information...
Showing with 9 additions and 3 deletions.