Skip to content

net: deferred self.destroy calls in internalConnect(Multiple) to next…

… tick

self.destroy calls in the internalConnect adn internalConnectMultiple functions have a narrow case where they can throw before an error handler has been established. This change defers them to the next tick to allow time for the error handler to be set.

Fixes: https://github.com/nodejs/node/issues/48771

Merge request reports

Loading