diff --git a/lib/net.js b/lib/net.js index 02fd18748036a3..3f5068bef2ef7d 100644 --- a/lib/net.js +++ b/lib/net.js @@ -936,7 +936,6 @@ Socket.prototype.connect = function(...args) { this.write = Socket.prototype.write; if (this.destroyed) { - this._undestroy(); this._handle = null; this._peername = null; this._sockname = null;