diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-07-19 13:44:11 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-07-19 13:44:11 +0200 |
| commit | 48a58d33265f0d06abd9e8b33f402c4c9458f0ae (patch) | |
| tree | ea2fa8b0e4a3b8649f21969a4fa153fd64b2c5f5 /gui | |
| parent | 5ad8b2daeab5c99305723007a2069d0e455efb29 (diff) | |
| download | mullvadvpn-48a58d33265f0d06abd9e8b33f402c4c9458f0ae.tar.xz mullvadvpn-48a58d33265f0d06abd9e8b33f402c4c9458f0ae.zip | |
Always allow transitioning to error state
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/main/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 07a0b711fe..0b3bb1b834 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -919,7 +919,7 @@ class ApplicationMain { // If there's a fallback state set then the app is in an assumed next state and need to check // if it's now reached or if the current state should be ignored and set as the fallback state. if (this.tunnelStateFallback) { - if (this.tunnelState.state === newState.state) { + if (this.tunnelState.state === newState.state || newState.state === 'error') { this.tunnelStateFallbackScheduler.cancel(); this.tunnelStateFallback = undefined; } else { |
