Commit 4444b7b5 authored by Brendan Ashworth's avatar Brendan Ashworth Committed by Ben Noordhuis
Browse files

dgram: changes Socket.close() to return itself

This commit adds a return statement to the dgram.Socket.close()
function that returns itself after it finishes. This follows along
the functionality of the more popular and, dare I say, father-library
`lib/net.js`.

PR-URL: https://github.com/iojs/io.js/pull/214


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 3e0057dd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment