mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
net: remove duplicate _undestroy
initSocketHandle will call _undestroy. PR-URL: https://github.com/nodejs/node/pull/30833 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
5bffe11cab
commit
7952154e5e
1 file changed
-1
@@ -938,7 +938,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;
|
||||
|
||||
Reference in new issue
Block a user