chore: bump Node.js to v16.2.0 (#29244)
This commit is contained in:
parent
9a7e61cfc0
commit
542abcd6fd
51 changed files with 1829 additions and 1499 deletions
|
@ -247,6 +247,9 @@ void ElectronBrowserMainParts::PostEarlyInitialization() {
|
|||
|
||||
env->set_trace_sync_io(env->options()->trace_sync_io);
|
||||
|
||||
// We do not want to crash the main process on unhandled rejections.
|
||||
env->set_unhandled_rejections_mode("warn");
|
||||
|
||||
// Add Electron extended APIs.
|
||||
electron_bindings_->BindTo(js_env_->isolate(), env->process_object());
|
||||
|
||||
|
|
|
@ -168,7 +168,6 @@ JavascriptEnvironment::~JavascriptEnvironment() {
|
|||
isolate_->Exit();
|
||||
g_isolate = nullptr;
|
||||
|
||||
platform_->CancelPendingDelayedTasks(isolate_);
|
||||
platform_->UnregisterIsolate(isolate_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue