diff --git a/lib/net.js b/lib/net.js index 5f12c733dd4422..751980d6e352ef 100644 --- a/lib/net.js +++ b/lib/net.js @@ -937,7 +937,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;