Skip to content

Commit 3ca3dea

Browse files
committed
fix
1 parent c0cbe55 commit 3ca3dea

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/event-bus-client/src/plugin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ export class EventClient<
9696

9797
private startConnectLoop() {
9898
// if connected, trying to connect, or the internalId is already set, do nothing
99-
if (this.#connectIntervalId !== null || this.#connected || this.#connecting)
100-
return
99+
if (this.#connectIntervalId !== null || this.#connected) return
101100
this.debugLog(`Starting connect loop (every ${this.#connectEveryMs}ms)`)
102101

103102
this.#connectIntervalId = setInterval(

0 commit comments

Comments
 (0)