mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
Use node::FreeEnvironment
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user