Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mutex for disconnect calls #525

Merged
merged 4 commits into from
Dec 6, 2022
Merged

Use mutex for disconnect calls #525

merged 4 commits into from
Dec 6, 2022

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Dec 5, 2022

with recent changes to wait for proper closing of the websocket within the SignalClient we now have to make sure that simultaneous calls to disconnect don't create unexpected state.
Added locks for Room.disconnect, Engine.close, and SignalClient.close.

@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2022

🦋 Changeset detected

Latest commit: 1c759cb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Patch

Not sure what this means? Click here to learn what changesets are.

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

@lukasIO lukasIO merged commit 5e824b7 into main Dec 6, 2022
@lukasIO lukasIO deleted the lukas/lock-disconnects branch December 6, 2022 07:30
@github-actions github-actions bot mentioned this pull request Dec 6, 2022
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.

None yet

2 participants