diff options
author | Fedor Indutny <fedor@indutny.com> | 2014-10-04 18:44:39 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-10-08 15:36:08 +0400 |
commit | 6a610a0f67f091092f1643326eaacb8c31f72259 (patch) | |
tree | 65f1811b365ca5e994d7621ff807b44a2854ef6d /src/handle_wrap.cc | |
parent | d71dd638c6bbabd0fd1db46307edd7b0de1750e2 (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.cc | 5 |
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_); } |