Closed
Bug 1154389
Opened 10 years ago
Closed 10 years ago
Stop leaking DeviceSuccessCallbackRunnable objects, and release its mOnSuccess and mOnFailure on the main thread if needed
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8592342 -
Flags: review?(rjesup)
Comment 2•10 years ago
|
||
Comment on attachment 8592342 [details] [diff] [review]
Stop leaking DeviceSuccessCallbackRunnable objects, and release its mOnSuccess and mOnFailure on the main thread if needed
Review of attachment 8592342 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/MediaManager.cpp
@@ +1510,5 @@
> }
> }
> // In the case of failure with this newly allocated runnable, we
> // intentionally leak the runnable, because we've pawned mOnSuccess and
> // mOnFailure onto it which are main thread objects unsafe to release here.
update the comment
Attachment #8592342 -
Flags: review?(rjesup) → review+
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/3b67e84d534e because I had to back out bug 1153304 for bustage:
https://treeherder.mozilla.org/logviewer.html#?job_id=8847436&repo=mozilla-inbound
Flags: needinfo?(ehsan)
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•