livekit-client 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/room/Room.ts
CHANGED
@@ -520,7 +520,7 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
|
|
520
520
|
return;
|
521
521
|
}
|
522
522
|
}
|
523
|
-
if (nextUrl) {
|
523
|
+
if (nextUrl && !this.abortController?.signal.aborted) {
|
524
524
|
this.log.info(
|
525
525
|
`Initial connection failed with ConnectionError: ${e.message}. Retrying with another region: ${nextUrl}`,
|
526
526
|
this.logContext,
|