Skip to content

Do not fire ICE gathering state changes after close - #3722

Merged
fippo merged 2 commits into
nextfrom
gathering-state-after-close
Nov 26, 2026
Merged

fippo merged 2 commits into
nextfrom
gathering-state-after-close

Conversation

@fippo

@fippo fippo commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

The tasks that update the ICE gathering state in
https://w3c.github.io/webrtc-pc/#rtcicetransport-gathering
abort when the PeerConnection is closed.

Drop gathering state changes that race with Close() instead of passing them to the application.

The tasks that update the ICE gathering state in
  https://w3c.github.io/webrtc-pc/#rtcicetransport-gathering
abort when the PeerConnection is closed. Drop gathering state changes
that race with Close() instead of passing them to the application.
@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.96%. Comparing base (9b2cbc2) to head (88c3a60).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #3722      +/-   ##
==========================================
+ Coverage   90.92%   90.96%   +0.03%     
==========================================
  Files          67       67              
  Lines        8234     8236       +2     
==========================================
+ Hits         7487     7492       +5     
+ Misses        747      744       -3     
Flag Coverage Δ
go 90.96% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JoTurk JoTurk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this was our ORTC API leaking into PC :)

@fippo
fippo merged commit b6a6993 into next Nov 26, 2026
32 of 33 checks passed
@fippo
fippo deleted the gathering-state-after-close branch November 26, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants