FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

net: remove duplicate _undestroy · nodejs/node@123327d · GitHub

/ node Public

Commit 123327d

Browse files
authored andcommitted
net: remove duplicate _undestroy
initSocketHandle will call _undestroy. PR-URL: #30833 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent ce21fc7 commit 123327d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎lib/net.js‎

Lines changed: 0 additions & 1 deletion
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)

Back | FazBrowse Home | New Git URL