diff --git a/src/main.ts b/src/main.ts index dd0e8fcdadc28..1af3c941e00b1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -313,8 +313,10 @@ function configureCommandlineSwitchesSync(cliArgs: NativeParsedArgs) { // Following features are enabled from the runtime: // `DocumentPolicyIncludeJSCallStacksInCrashReports` - https://www.electronjs.org/docs/latest/api/web-frame-main#framecollectjavascriptcallstack-experimental + // `EarlyEstablishGpuChannel` - Refs https://issues.chromium.org/issues/40208065 + // `EstablishGpuChannelAsync` - Refs https://issues.chromium.org/issues/40208065 const featuresToEnable = - `DocumentPolicyIncludeJSCallStacksInCrashReports, ${app.commandLine.getSwitchValue('enable-features')}`; + `DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EstablishGpuChannelAsync,${app.commandLine.getSwitchValue('enable-features')}`; app.commandLine.appendSwitch('enable-features', featuresToEnable); // Following features are disabled from the runtime: