summaryrefslogtreecommitdiff
path: root/src/req_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/req_wrap.h')
-rw-r--r--src/req_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index 1251cea6db..36e0fe56ce 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -35,7 +35,7 @@ template <typename T>
class ReqWrap {
public:
ReqWrap() {
- v8::HandleScope scope;
+ v8::HandleScope scope(node_isolate);
object_ = v8::Persistent<v8::Object>::New(node_isolate, v8::Object::New());
v8::Local<v8::Value> domain = v8::Context::GetCurrent()