summaryrefslogtreecommitdiff
path: root/src/node_util.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2016-05-31 16:42:52 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2016-06-01 09:29:47 +0200
commitc3cd453cbae84ff6d639a2b8d7776a15b3e3431b (patch)
tree0696783460b134e57807fbe13399124679413065 /src/node_util.cc
parent0301ce9f55d84c9a828b9e8571ab8ca0bd85b51f (diff)
downloadandroid-node-v8-c3cd453cbae84ff6d639a2b8d7776a15b3e3431b.tar.gz
android-node-v8-c3cd453cbae84ff6d639a2b8d7776a15b3e3431b.tar.bz2
android-node-v8-c3cd453cbae84ff6d639a2b8d7776a15b3e3431b.zip
src: make IsolateData creation explicit
Make it easier to reason about the lifetime and the ownership of the IsolateData instance by making its creation explicit and by removing reference counting logic. The creator of the Environment is now responsible for passing in the IsolateData instance and for keeping it alive as long as the Environment is alive. PR-URL: https://github.com/nodejs/node/pull/7082 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/node_util.cc')
0 files changed, 0 insertions, 0 deletions