summaryrefslogtreecommitdiff
path: root/test/cctest/node_test_fixture.cc
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 /test/cctest/node_test_fixture.cc
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 'test/cctest/node_test_fixture.cc')
-rw-r--r--test/cctest/node_test_fixture.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cctest/node_test_fixture.cc b/test/cctest/node_test_fixture.cc
deleted file mode 100644
index 9fc8b96445..0000000000
--- a/test/cctest/node_test_fixture.cc
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <stdlib.h>
-#include "node_test_fixture.h"