joyent/node — pull request #3656 by dominictarr (2012-07-07 00:46:04+00:00)
Title: clarified documentation of Stream#destroy

`Stream#destroy` should emit 'close', once underlying resources are disposed of.
but should not emit any 'data', or 'end' events.
as the stream is no longer `readable` or `writable`.

this is more accurate to the actual code.

https://github.com/sockjs/sockjs-node/issues/79#issuecomment-6818937