summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorJulien Gilli <jgilli@netflix.com>2019-02-19 14:29:31 -0800
committerRich Trott <rtrott@gmail.com>2019-06-12 22:01:07 -0700
commit43a51708589ac789ce08beaeb49d6d778dfbdc49 (patch)
treeeba763f26cccb8c54d6d8fa4271332c0788f5111 /vcbuild.bat
parentd74dc17afe883128f7e7163785570861c6571757 (diff)
downloadandroid-node-v8-43a51708589ac789ce08beaeb49d6d778dfbdc49.tar.gz
android-node-v8-43a51708589ac789ce08beaeb49d6d778dfbdc49.tar.bz2
android-node-v8-43a51708589ac789ce08beaeb49d6d778dfbdc49.zip
domain: error handler runs outside of its domain
Before this change, domains' error handlers would run with the corresponding domain as the active domain. This creates the possibility for domains' error handlers to call themselves recursively if an event emitter created in the error handler emits an error, or if the error handler throws an error. This change sets the active domain to be the domain's parent (or null if the domain for which the error handler is called has no parent) to prevent that from happening. Fixes: https://github.com/nodejs/node/issues/26086 PR-URL: https://github.com/nodejs/node/pull/26211 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'vcbuild.bat')
0 files changed, 0 insertions, 0 deletions