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

fix: do not run webrtc cleanup on transport close #2498

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

achingbrain
Copy link
Member

The cleanup function from node-datachannel closes all open peer connections/datachannels - if there are multiple transports/nodes in the same process they will all be closed.

Fixes #2425

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

The cleanup function from `node-datachannel` closes all open peer
connections/datachannels - if there are multiple transports/nodes
in the same process they will all be closed.
@achingbrain achingbrain requested a review from a team as a code owner April 23, 2024 10:12
Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@achingbrain achingbrain merged commit 2281f80 into main Apr 24, 2024
22 checks passed
@achingbrain achingbrain deleted the fix/do-not-cleanup-webrtc-on-transport-close branch April 24, 2024 08:10
@achingbrain achingbrain mentioned this pull request Apr 24, 2024
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.

WebRTC transport apparently broken in the NodeJS environment
2 participants