Set node::node_isolate to fix crash

This commit is contained in:
Cheng Zhao 2015-04-20 14:32:41 +08:00
parent 7a52a4cff1
commit 88a1c7973c
2 changed files with 2 additions and 1 deletions

View file

@ -30,6 +30,7 @@ int NodeMain(int argc, char *argv[]) {
exec_argc, exec_argv);
// Start debugger.
node::node_isolate = gin_env.isolate();
if (node::use_debug_agent)
node::StartDebug(env, node::debug_wait_connect);

2
vendor/node vendored

@ -1 +1 @@
Subproject commit 2caa321f8b6bb68838ee48a4c9efb820bf085337
Subproject commit a17c44028101d80605556f047a844b3e7ab95677