Add readyState !== CLOSED (2) guards to all EventSource.close() calls across messages.js, sessions.js, panels.js, and terminal.js. Chromium reports net::ERR_ABORTED when close() is called on an already-closed EventSource, polluting the console during normal lifecycle transitions (session switch, panel close, stream teardown). Key hotspots: - closeLiveStream() double-close via onerror → _closeSource chain - _closeSessionEventsSSE, _gatewaySSE.onerror missing try/catch - _kanbanStopPolling, terminal close handlers 20 close() calls guarded across 4 files, no structural changes to stream lifecycle. |
||
|---|---|---|
| .. | ||
| vendor | ||
| apple-touch-icon.png | ||
| assistant_turn_anchors.js | ||
| boot.js | ||
| commands.js | ||
| favicon-32.png | ||
| favicon-192.png | ||
| favicon-512.png | ||
| favicon-512.svg | ||
| favicon.ico | ||
| favicon.svg | ||
| i18n.js | ||
| icons.js | ||
| index.html | ||
| login.js | ||
| manifest.json | ||
| messages.js | ||
| onboarding.js | ||
| outline.js | ||
| panels.js | ||
| pwa-startup.js | ||
| sessions.js | ||
| style.css | ||
| sw.js | ||
| terminal.js | ||
| ui.js | ||
| workspace.js | ||