summaryrefslogtreecommitdiff
path: root/src/req_wrap.h
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/req_wrap.h
parentd71dd638c6bbabd0fd1db46307edd7b0de1750e2 (diff)
downloadnode-new-6a610a0f67f091092f1643326eaacb8c31f72259.tar.gz
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/req_wrap.h')
-rw-r--r--src/req_wrap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index 56d63eb711..df4ed2ced1 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -31,9 +31,6 @@
namespace node {
-// defined in node.cc
-extern QUEUE req_wrap_queue;
-
template <typename T>
class ReqWrap : public AsyncWrap {
public:
@@ -44,7 +41,7 @@ class ReqWrap : public AsyncWrap {
if (env->in_domain())
object->Set(env->domain_string(), env->domain_array()->Get(0));
- QUEUE_INSERT_TAIL(&req_wrap_queue, &req_wrap_queue_);
+ QUEUE_INSERT_TAIL(env->req_wrap_queue(), &req_wrap_queue_);
}