Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net:
net.Server.listen()
avoid operations on null
when fail
When `net.Server` fails to create a new handle, an error shall be emitted in the next tick. Therefore, we make `net.Server.listen()` directly return to avoid following operations on `null` `this._handle`. Fixes: #23917 PR-URL: #23920 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
- Loading branch information