Closed
Bug 1047759
Opened 11 years ago
Closed 11 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•11 years ago
|
||
Attachment #8466885 -
Flags: review?(khuey)
| Reporter | ||
Updated•11 years ago
|
Attachment #8466885 -
Flags: review?(khuey) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
| Reporter | ||
Comment 2•11 years ago
|
||
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Assignee: nobody → pzhang
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•