mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: call node::Stop on exit (#25430)
This commit is contained in:
@@ -284,7 +284,7 @@ int NodeMain(int argc, char* argv[]) {
|
||||
|
||||
node::ResetStdio();
|
||||
|
||||
env->set_can_call_into_js(false);
|
||||
node::Stop(env);
|
||||
env->stop_sub_worker_contexts();
|
||||
env->RunCleanup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user