Use node::FreeEnvironment
This commit is contained in:
parent
334f03fc42
commit
cef86f5257
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ int NodeMain(int argc, char *argv[]) {
|
|||
exit_code = node::EmitExit(env);
|
||||
node::RunAtExit(env);
|
||||
|
||||
env->Dispose();
|
||||
node::FreeEnvironment(env);
|
||||
}
|
||||
|
||||
v8::V8::Dispose();
|
||||
|
|
Loading…
Add table
Reference in a new issue