Skip to content

Conversation

@mertushka
Copy link
Contributor

The RTCDataChannel.close() method now uses setImmediate to ensure it runs asynchronously, preventing the PeerConnection.close() method from blocking the event loop.

Fixes: #326

@murat-dogan
Copy link
Owner

murat-dogan commented Jan 27, 2025

Thanks for the fix

@murat-dogan murat-dogan merged commit b4934d0 into murat-dogan:master Jan 27, 2025
1 check passed
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.

PeerConnection.close() Method is Blocking the Event Loop

2 participants