diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-26 01:50:04 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-26 01:51:05 +0100 |
commit | 121ed91331b015fa287b07a8270fd4e653d3173d (patch) | |
tree | 17c35a471b9bd971f2ff34af115ba8cf89613eb9 /doc | |
parent | 4cb17cb219b3a2540b40458ed253695b3626a803 (diff) | |
download | nodejs-121ed91331b015fa287b07a8270fd4e653d3173d.tar.gz nodejs-121ed91331b015fa287b07a8270fd4e653d3173d.tar.bz2 nodejs-121ed91331b015fa287b07a8270fd4e653d3173d.zip |
tls: fix tls.connect() resource leak
The 'secureConnect' event listener was attached with .on(), which blocked it
from getting garbage collected. Use .once() instead.
Fixes #4308.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions