diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-03-21 08:06:43 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-04-12 13:11:39 +0200 |
commit | ec53921d2e96b4fd7672f69187f6b45b0ab96310 (patch) | |
tree | ec8f10b5f5fddc67679bfdeda40d8f0fd1943166 /node.gyp | |
parent | de168b4b4a4a8b8bd765a99bfa735d51f2650961 (diff) | |
download | android-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.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' ], |