Skip to content

Commit

Permalink
node: add missing Isolate::Scope at startup
Browse files Browse the repository at this point in the history
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
bnoordhuis authored and trevnorris committed Aug 19, 2014
1 parent 7be96f5 commit 437c2f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 437c2f4

Please sign in to comment.