summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index cef8eda51b..0bdc71a2ef 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -210,6 +210,10 @@ class ApplicationMain {
this.guiSettings.load();
+ // The default value has previously been false but will be changed to true in Electron 9. The
+ // false value has been deprecated in Electron 8. This can be removed when Electron 9 is used.
+ app.allowRendererProcessReuse = true;
+
app.on('activate', this.onActivate);
app.on('ready', this.onReady);
app.on('window-all-closed', () => app.quit());