Closed
Description
Bah, I assume this would have been much easier if I'd not mucked up the API.
It's possible we can squash it down into less commits for a backport.
I'd like to see this since it would be useful to have this information in LTS for tooling. It's far less desirable to have to float this patch or patch in _unrefed
for APIs that don't have it (e.g. child_process
, whereas net and timers have this.)
This will be even more prevalent if/once anything from AsyncWrap
gets backported, or even with it's existing API. Specifically, there is no way to tell if a handle will or will not keep the process open without this.
It presents next-to zero risk as far as I can tell. Below is the full commit chain.
- nodejs/node@7d8882b handle_wrap: expose {un}refed check to JS node#5834
- nodejs/node@f938ef7 src: fix -Wunused-variable compiler warning node#6129
- nodejs/node@9bb5a5e handle_wrap: IsRefed -> Unrefed, no isAlive check node#6204
- nodejs/node@cad1a62 src: use libuv's refcounting directly node#6395
- nodejs/node@a58d483 src: use libuv's refcounting directly node#6395
- nodejs/node@4282405 src: use libuv's refcounting directly node#6395
- nodejs/node@96a9439 Revert "handle_wrap: IsRefed -> Unrefed, no isAlive check" node#6546
- nodejs/node@fe4837a Revert "handle_wrap: IsRefed -> Unrefed, no isAlive check" node#6546
- Semi-depends-on nodejs/node@2c480bd src,tools: rewrite check-imports and fix linter errors node#6105
Metadata
Metadata
Assignees
Labels
No labels