Skip to content

Conversation

@adrian-niculescu
Copy link
Contributor

@adrian-niculescu adrian-niculescu commented Nov 24, 2025

Cancel the coroutine scope in PeerConnectionTransport.close() to make cleanup intent explicit

The scope would be garbage collected anyway when the transport is dereferenced, but explicit cancellation is cleaner and ensures any pending debounce jobs are cancelled immediately.

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: 48a5484

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

This PR includes changesets to release 1 package
Name Type
client-sdk-android 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

@davidliu davidliu merged commit fa783ef into livekit:main Nov 25, 2025
2 checks passed
@davidliu davidliu mentioned this pull request Nov 25, 2025
@adrian-niculescu adrian-niculescu deleted the fix/pct-scope-not-cancelled branch November 25, 2025 08:52
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