mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump Node.js to v16.2.0 (#29244)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user