Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
net: remove duplicate _undestroy
initSocketHandle will call _undestroy.
  • Loading branch information
ronag committed Dec 7, 2019
commit a064e94c6704d77ae4902517154ae0b46b2fbd8e
1 change: 0 additions & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,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;
Expand Down