diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-06-25 11:31:39 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-06-25 11:31:39 +0200 |
| commit | bb51fb4839fbcd5a64aa1aa38ed591e5453e7f7b (patch) | |
| tree | 79c8d35e90501f7558d698bd39f0d83a2231da58 /gui/src/main | |
| parent | a55f618ca1b83c02a0239bece8f33cec060c33ef (diff) | |
| parent | 853ec1e41da6b0b86e569c3ba50594444c4b40b7 (diff) | |
| download | mullvadvpn-bb51fb4839fbcd5a64aa1aa38ed591e5453e7f7b.tar.xz mullvadvpn-bb51fb4839fbcd5a64aa1aa38ed591e5453e7f7b.zip | |
Merge branch 'upgrade-to-electron-8-again'
Diffstat (limited to 'gui/src/main')
| -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()); |
