diff --git a/connection/1_connection_tcp.ts b/connection/1_connection_tcp.ts index de33fd80..486a6416 100644 --- a/connection/1_connection_tcp.ts +++ b/connection/1_connection_tcp.ts @@ -88,6 +88,7 @@ export class ConnectionTCP implements Connection { } } } while (this.connected); + this.stateChangeHandler?.(false); }); this.#connection = connection; }