diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-11-19 15:40:41 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-28 23:41:03 +0100 |
commit | 3e79c004fdb93d01618fd90f0df934ac12c62353 (patch) | |
tree | adf498f8ec47dc60ea5b7c957408e94352ecebaf /lib | |
parent | 7686b5a34f9146bb44919d1cd73214c2d86de44c (diff) | |
download | android-node-v8-3e79c004fdb93d01618fd90f0df934ac12c62353.tar.gz android-node-v8-3e79c004fdb93d01618fd90f0df934ac12c62353.tar.bz2 android-node-v8-3e79c004fdb93d01618fd90f0df934ac12c62353.zip |
inspector: properly shut down uv_async_t
Closing in the Agent destructor is too late, because that happens
when the Environment is destroyed, not when libuv handles are closed.
This fixes a situation in which the same libuv loop is re-used for
multiple Environment instances sequentially, e.g. in our cctest.
PR-URL: https://github.com/nodejs/node/pull/30612
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions