Skip to content

Commit 123327d

Browse files
ronagtargos
authored andcommitted
net: remove duplicate _undestroy
initSocketHandle will call _undestroy. PR-URL: #30833 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ce21fc7 commit 123327d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/net.js

-1
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,6 @@ Socket.prototype.connect = function(...args) {
937937
this.write = Socket.prototype.write;
938938

939939
if (this.destroyed) {
940-
this._undestroy();
941940
this._handle = null;
942941
this._peername = null;
943942
this._sockname = null;

0 commit comments

Comments
 (0)