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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → ehsan
Blocks: 1153304
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+
See alternative idea in this other bug.
See Also: → 1154337
Pushed a fixed version.
Flags: needinfo?(ehsan)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: