mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -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
b7d87e31f5
commit
855ca736de
1 file changed
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user