Skip to content

Commit 4ab3376

Browse files
committed
fix: rollback net changes
1 parent acda6f4 commit 4ab3376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ function internalConnect(
10661066
err = checkBindError(err, localPort, self._handle);
10671067
if (err) {
10681068
const ex = new ExceptionWithHostPort(err, 'bind', localAddress, localPort);
1069-
process.nextTick(() => self.destroy(ex));
1069+
self.destroy(ex);
10701070
return;
10711071
}
10721072
}

0 commit comments

Comments
 (0)