Closed
Bug 1047759
Opened 10 years ago
Closed 10 years ago
FMRadioService is leaked
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: khuey, Assigned: pzhang)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
1.55 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
We store the FMRadioService in a StaticRefPtr that is never cleared, so we leak. The obvious thing to do here is use ClearOnShutdown on the StaticRefPtr. But I wonder if we really need the StaticRefPtr at all. Can we rely on somebody else (maybe the XPCOM service manager) holding us alive?
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8466885 -
Flags: review?(khuey)
Reporter | ||
Updated•10 years ago
|
Attachment #8466885 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/003e3f31ea6b
Keywords: checkin-needed
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/003e3f31ea6b
Assignee: nobody → pzhang
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•