0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/abort
Anna Henningsen aa2304b8d5
worker,src: display remaining handles if uv_loop_close fails
Right now, we crash the process if there are handles remaining
on the event loop when we exit (except for the main thread).

This does not provide a lot of information about causes, though;
in particular, we don’t show which handles are pending and
who own them.

This patch adds debug output to these cases to help with the
situation.

PR-URL: https://github.com/nodejs/node/pull/21238
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2018-06-13 12:23:36 +02:00
..
test-abort-backtrace.js test: fix test-abort-backtrace in shared lib build 2018-03-11 04:04:14 +01:00
test-abort-uncaught-exception.js vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
test-addon-uv-handle-leak.js worker,src: display remaining handles if uv_loop_close fails 2018-06-13 12:23:36 +02:00
test-http-parser-consume.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-process-abort-exitcode.js
test-zlib-invalid-internals-usage.js
testcfg.py