fix: call node::Stop on exit (#25430)
This commit is contained in:
parent
b1d8057ec9
commit
459a95aaec
2 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue