summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-03-21 08:06:43 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-04-12 13:11:39 +0200
commitec53921d2e96b4fd7672f69187f6b45b0ab96310 (patch)
treeec8f10b5f5fddc67679bfdeda40d8f0fd1943166 /node.gyp
parentde168b4b4a4a8b8bd765a99bfa735d51f2650961 (diff)
downloadandroid-node-v8-ec53921d2e96b4fd7672f69187f6b45b0ab96310.tar.gz
android-node-v8-ec53921d2e96b4fd7672f69187f6b45b0ab96310.tar.bz2
android-node-v8-ec53921d2e96b4fd7672f69187f6b45b0ab96310.zip
src: make AtExit callback's per Environment
This commit attempts to address one of the TODOs in https://github.com/nodejs/node/issues/4641 regarding making the AtExit callback's per environment, instead of the current global. bnoordhuis provided a few options for solving this, and one was to use a thread-local which is what this commit attempts to do. PR-URL: https://github.com/nodejs/node/pull/9163 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 1291398724..5f480001da 100644
--- a/node.gyp
+++ b/node.gyp
@@ -642,6 +642,7 @@
'sources': [
'test/cctest/test_base64.cc',
+ 'test/cctest/test_environment.cc',
'test/cctest/test_util.cc',
'test/cctest/test_url.cc'
],