From c64984b4962aaac59417288e1d484f3bc6569b76 Mon Sep 17 00:00:00 2001 From: xiaoxixi Date: Fri, 24 Jul 2026 09:51:59 +0800 Subject: [PATCH] fix(webui): reset connected flag on manual disconnect --- webui/src/lib/chat.svelte.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webui/src/lib/chat.svelte.js b/webui/src/lib/chat.svelte.js index b01b927..b5adb83 100644 --- a/webui/src/lib/chat.svelte.js +++ b/webui/src/lib/chat.svelte.js @@ -42,6 +42,7 @@ class ChatClient { clearTimeout(this.#reconnectTimer); this.#socket?.close(); this.#socket = null; + this.connected = false; } send(frame) {