diff options
Diffstat (limited to 'gui/src/renderer')
| -rw-r--r-- | gui/src/renderer/app.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx index dd8a6543ca..5b75330c8b 100644 --- a/gui/src/renderer/app.tsx +++ b/gui/src/renderer/app.tsx @@ -731,6 +731,9 @@ export default class AppRenderer { log.debug(`Tunnel state: ${tunnelState.state}`); this.tunnelState = tunnelState; + // The main process doesn't notify the tunnel state while waiting for a new one (unless it times + // out). Therefore the first tunnel state update will be the one we're waiting for. + this.optimisticTunnelState = undefined; switch (tunnelState.state) { case 'connecting': |
