Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2014-10-04 18:44:39 +0400
committerFedor Indutny <fedor@indutny.com>2014-10-08 15:36:08 +0400
commit6a610a0f67f091092f1643326eaacb8c31f72259 (patch)
tree65f1811b365ca5e994d7621ff807b44a2854ef6d /src/handle_wrap.cc
parentd71dd638c6bbabd0fd1db46307edd7b0de1750e2 (diff)
deps: re-implement debugger-agent
Reviewed-By: Trevor Norris <trevnorris@gmail.com> PR-URL: https://github.com/joyent/node/pull/8476
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r--src/handle_wrap.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index f713750d7f9..83015f1dfd8 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -39,9 +39,6 @@ using v8::Local;
using v8::Object;
using v8::Value;
-// defined in node.cc
-extern QUEUE handle_wrap_queue;
-
void HandleWrap::Ref(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args.GetIsolate());
@@ -100,7 +97,7 @@ HandleWrap::HandleWrap(Environment* env,
handle__->data = this;
HandleScope scope(env->isolate());
Wrap<HandleWrap>(object, this);
- QUEUE_INSERT_TAIL(&handle_wrap_queue, &handle_wrap_queue_);
+ QUEUE_INSERT_TAIL(env->handle_wrap_queue(), &handle_wrap_queue_);
}