Browse Source

node: add missing Isolate::Scope at startup

Reviewed-by: Trevor Norris <trev.norris@gmail.com>
v0.11.14-release
Ben Noordhuis 11 years ago
committed by Trevor Norris
parent
commit
437c2f4383
  1. 1
      src/node.cc

1
src/node.cc

@ -3617,6 +3617,7 @@ int Start(int argc, char** argv) {
V8::Initialize();
{
Locker locker(node_isolate);
Isolate::Scope isolate_scope(node_isolate);
HandleScope handle_scope(node_isolate);
Local<Context> context = Context::New(node_isolate);
Environment* env = CreateEnvironment(

Loading…
Cancel
Save