fix(webui): reset connected flag on manual disconnect
This commit is contained in:
parent
8dc5889b87
commit
c64984b496
@ -42,6 +42,7 @@ class ChatClient {
|
|||||||
clearTimeout(this.#reconnectTimer);
|
clearTimeout(this.#reconnectTimer);
|
||||||
this.#socket?.close();
|
this.#socket?.close();
|
||||||
this.#socket = null;
|
this.#socket = null;
|
||||||
|
this.connected = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
send(frame) {
|
send(frame) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user