From 7683ee3544053fcc9dd0b11bd40599ef0f2d4d1b Mon Sep 17 00:00:00 2001 From: Raymond Zhao Date: Fri, 12 Nov 2021 14:37:35 -0800 Subject: [PATCH] Make key opt-in --- src/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 806f675b2787e..7fcd52f294334 100644 --- a/src/main.js +++ b/src/main.js @@ -223,10 +223,10 @@ function configureCommandlineSwitchesSync(cliArgs) { break; case 'enable-render-process-reuse': - if (argvValue === false) { - app.allowRendererProcessReuse = false; - } else { + if (argvValue === true) { app.allowRendererProcessReuse = true; + } else { + app.allowRendererProcessReuse = false; } break; }