Please sign in to comment.
src: avoid duplicate AtExit functions
node.cc had two functions with the name AtExit with entirely different purposes: * node::AtExit(): file static; used to register the atexit(3) handler for the Node process. * node::AtExit(void (*)(void*), void*): publicly exported symbol that addons can use to request callbacks upon exit. For code readability it is better to avoid the unintentional overload. PR-URL: #8273 Reviewed-By: addaleax - Anna Henningsen <firstname.lastname@example.org> Reviewed-By: jasnell - James M Snell <email@example.com> Reviewed-By: cjihrig - Colin Ihrig <firstname.lastname@example.org> Reviewed-By: bnoordhuis - Ben Noordhuis <email@example.com>
- Loading branch information...