Skip to content

fix: ensure we never try to reset region strategy if engine doesn't exist#1906

Merged
lukasIO merged 2 commits intomainfrom
lukas/fix-engine-undefined
Apr 21, 2026
Merged

fix: ensure we never try to reset region strategy if engine doesn't exist#1906
lukasIO merged 2 commits intomainfrom
lukas/fix-engine-undefined

Conversation

@lukasIO
Copy link
Copy Markdown
Contributor

@lukasIO lukasIO commented Apr 21, 2026

follow up for #1900

the strategy is always set as part of attemptConnection after the engine is created.

Trying to do it before could result in undefined access

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 21, 2026

⚠️ No Changeset found

Latest commit: 375e7e4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@lukasIO lukasIO requested review from 1egoman and boks1971 April 21, 2026 10:42
@lukasIO lukasIO merged commit 67fee1b into main Apr 21, 2026
6 checks passed
@lukasIO lukasIO deleted the lukas/fix-engine-undefined branch April 21, 2026 10:43
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 96.89 KB (0%)
dist/livekit-client.umd.js 105.8 KB (-0.05% 🔽)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants