Closed
Bug 1819952
Opened 1 year ago
Closed 1 year ago
Give some WebRTC Destroy runnables better names
Categories
(Core :: WebRTC, task)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
There are a few uses of NewNonOwningRunnableMethod in WebRTC that pass __func__
in methods called "Destroy" which is a very common name. The drawback is that if the runnable leaks, as seen in bug 1775056, it can be hard to figure out what this even is.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
I think I've audited every one of the runnable creating methods in nsThreadUtils, and these three in WebRTC seem to be the only instances in a method named Destroy that is using func.
Assignee | ||
Comment 3•1 year ago
|
||
(eg the other ones have the class name as well)
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/259e1aeae776 Give some WebRTC Destroy runnables better names. r=bwc
Comment 5•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•