Closed
Description
We have missed updating the docs.
This property is guaranteed to be an instance of the <net.Socket> class, a subclass of <stream.Duplex>, unless the user specified a socket type other than <net.Socket>.
Is no longer true. It will be null after detach and destroy.
Lines 246 to 250 in 265a47d
Lines 661 to 666 in 265a47d
node/lib/internal/streams/destroy.js
Lines 339 to 341 in 265a47d