summaryrefslogtreecommitdiff
path: root/src/req_wrap.h
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2013-10-29 16:35:32 -0700
committerTrevor Norris <trev.norris@gmail.com>2013-10-31 16:34:35 -0700
commitbc39bdd995d70238eea4a217386869d94c69f614 (patch)
tree85f53ad7a961af92db4751829305eac1f216b946 /src/req_wrap.h
parentfbe7eec1eca4f26a40e32f169d5b48b1a6d41334 (diff)
downloadnode-new-bc39bdd995d70238eea4a217386869d94c69f614.tar.gz
domain: use AsyncListener API
The domain module has been switched over to use the domain module API as much as currently possible. There are still some hooks in the EventEmitter, but hopefully we can remove those in the future.
Diffstat (limited to 'src/req_wrap.h')
-rw-r--r--src/req_wrap.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index da3abd8759..2e08ef7380 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -39,11 +39,6 @@ class ReqWrap : public AsyncWrap {
public:
ReqWrap(Environment* env, v8::Handle<v8::Object> object)
: AsyncWrap(env, object) {
- assert(!object.IsEmpty());
-
- if (env->in_domain())
- object->Set(env->domain_string(), env->domain_array()->Get(0));
-
QUEUE_INSERT_TAIL(&req_wrap_queue, &req_wrap_queue_);
}