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

Unreference elements after priority queue Pop #264

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

edaniels
Copy link
Member

Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.43%. Comparing base (c7615af) to head (34a7c03).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
- Coverage   72.56%   72.43%   -0.13%     
==========================================
  Files          79       79              
  Lines        3648     3653       +5     
==========================================
- Hits         2647     2646       -1     
- Misses        867      870       +3     
- Partials      134      137       +3     
Flag Coverage Δ
go 72.43% <100.00%> (-0.13%) ⬇️
wasm 70.59% <100.00%> (-0.02%) ⬇️

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

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

@edaniels edaniels merged commit 033e99c into pion:master Aug 6, 2024
14 checks passed
@edaniels edaniels deleted the unref_pq branch August 6, 2024 15:33
@@ -136,3 +139,46 @@ func TestPriorityQueue_Clean(t *testing.T) {
assert.EqualValues(t, 1, packets.Length())
packets.Clear()
}

func TestPriorityQueue_Unreference(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for writing this test!

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.

Performance regression and memory leak in SampleBuilder@v4
3 participants