Header dot: don't go red on machine switch; reflect remote reachability

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-18 11:36:04 -07:00
co-authored by Claude Fable 5.1
parent 7dcdb5dc98
commit 340232b724
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -80,9 +80,8 @@ export default function TerminalPane({ id, active, register, onStatus, onExit }:
} catch { /* ignore */ }
}
sock.onclose = () => {
if (ws !== sock) return
if (ws !== sock || closed) return
cbs.current.onStatus(false)
if (closed) return
setConn('reconnecting')
retryTimer = window.setTimeout(connect, Math.min(1000 * 2 ** retry++, 15000))
}