summaryrefslogtreecommitdiff
path: root/lib/internal/repl/utils.js
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-12-06 00:59:19 +0100
committerRich Trott <rtrott@gmail.com>2019-12-07 21:30:39 -0800
commitd1f4936fab0a57282581da65d82411db96eb4108 (patch)
tree47a6595529f7fef36242074f011c32288fb2275b /lib/internal/repl/utils.js
parenta2cfb7dd8664c73385758c98966823fb80144d2c (diff)
downloadandroid-node-v8-d1f4936fab0a57282581da65d82411db96eb4108.tar.gz
android-node-v8-d1f4936fab0a57282581da65d82411db96eb4108.tar.bz2
android-node-v8-d1f4936fab0a57282581da65d82411db96eb4108.zip
src: improve checked uv loop close output
Addon developers may run into this when not closing libuv handles inside Workers. Previously, output may have included unhelpful statements such as `uv loop at ... has 0 active handles`, which may sound like everything’s supposed to be fine actually. So, instead of printing the active handle count, print the total handle count and mark active handles individually. Also, fix the test for this to work properly and make sure that parsing finishes properly. PR-URL: https://github.com/nodejs/node/pull/30814 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'lib/internal/repl/utils.js')
0 files changed, 0 insertions, 0 deletions