diff options
Diffstat (limited to 'src/debug-agent.cc')
-rw-r--r-- | src/debug-agent.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/debug-agent.cc b/src/debug-agent.cc index 78eacf49ab..a8797a5bcf 100644 --- a/src/debug-agent.cc +++ b/src/debug-agent.cc @@ -169,16 +169,10 @@ void Agent::WorkerRun() { Isolate::Scope isolate_scope(isolate); HandleScope handle_scope(isolate); + IsolateData isolate_data(isolate, &child_loop_); Local<Context> context = Context::New(isolate); Context::Scope context_scope(context); - - // FIXME(bnoordhuis) Work around V8 bug: v8::Private::ForApi() dereferences - // a nullptr when a context hasn't been entered first. The symbol registry - // is a lazily created JS object but object instantiation does not work - // without a context. - IsolateData isolate_data(isolate, &child_loop_); - Environment* env = CreateEnvironment( &isolate_data, context, |