diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-06-17 10:09:11 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-06-25 11:27:13 +0200 |
| commit | 502f3964892fd9d2c21bbc8c72547d75916622f0 (patch) | |
| tree | 6dbf29df6e92486bd67fcf87d4efe8c0e6d4d610 /gui/src | |
| parent | a55f618ca1b83c02a0239bece8f33cec060c33ef (diff) | |
| download | mullvadvpn-502f3964892fd9d2c21bbc8c72547d75916622f0.tar.xz mullvadvpn-502f3964892fd9d2c21bbc8c72547d75916622f0.zip | |
Upgrade to Electron 8.3.2
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/index.ts | 4 |
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()); |
