summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-06-17 10:09:11 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-06-25 11:27:13 +0200
commit502f3964892fd9d2c21bbc8c72547d75916622f0 (patch)
tree6dbf29df6e92486bd67fcf87d4efe8c0e6d4d610 /gui/src
parenta55f618ca1b83c02a0239bece8f33cec060c33ef (diff)
downloadmullvadvpn-502f3964892fd9d2c21bbc8c72547d75916622f0.tar.xz
mullvadvpn-502f3964892fd9d2c21bbc8c72547d75916622f0.zip
Upgrade to Electron 8.3.2
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());