Commit 4cb17cb2 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

net: fix net.connect() resource leak

The 'connect' event listener was attached with .on(), which blocked it from
getting garbage collected. Use .once() instead.

Fixes #4308.
parent fb5c7f03
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment