chore: bump Node.js to v16.2.0 (#29244)

This commit is contained in:
Shelley Vohr 2021-06-17 08:50:56 +02:00 committed by GitHub
parent 9a7e61cfc0
commit 542abcd6fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 1829 additions and 1499 deletions

View file

@ -113,6 +113,9 @@ void ElectronRendererClient::DidCreateScriptContext(
// any non-context aware native module
env->set_force_context_aware(true);
// We do not want to crash the renderer process on unhandled rejections.
env->set_unhandled_rejections_mode("warn");
environments_.insert(env);
// Add Electron extended APIs.