diff options
author | Gireesh Punathil <gpunathi@in.ibm.com> | 2018-11-26 01:38:47 -0500 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-28 10:33:21 -0800 |
commit | 25ad8decc6c15e45659053605af4f7b53dd64e1b (patch) | |
tree | 634774c2212073aa78480341e3740e2a236302dc /src/node_native_module.cc | |
parent | acedf1a55a0a1712a5b06babc34694ef718275ef (diff) | |
download | android-node-v8-25ad8decc6c15e45659053605af4f7b53dd64e1b.tar.gz android-node-v8-25ad8decc6c15e45659053605af4f7b53dd64e1b.tar.bz2 android-node-v8-25ad8decc6c15e45659053605af4f7b53dd64e1b.zip |
lib: rearm pre-existing signal event registrations
process.on('somesignal', ...) semantics expect the process to catch the
signal and invoke the associated handler. `setupSignalHandlers` perform
the additional task of preparing the libuv signal handler and associate
it with the event handler. It is possible that by the time this is
setup there could be pre-existing registrations that pre-date this setup
in the boot sequence.
So rearm pre-existing signal event registrations to get upto speed.
Ref: https://github.com/nodejs/node/pull/22712#discussion_r232457318
PR-URL: https://github.com/nodejs/node/pull/24651
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/node_native_module.cc')
0 files changed, 0 insertions, 0 deletions