Closed
Bug 968536
Opened 11 years ago
Closed 11 years ago
Remove ContentParent's phone-state-changed observer
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
People
(Reporter: khuey, Assigned: khuey)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
1.07 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
I should have caught this in review :( This means we leak every ContentParent ever. It affects 1.2 too.
Attachment #8371123 -
Flags: review?(n.nethercote)
![]() |
||
Comment 1•11 years ago
|
||
Comment on attachment 8371123 [details] [diff] [review]
Patch
Review of attachment 8371123 [details] [diff] [review]:
-----------------------------------------------------------------
r=me, but even better would be if you create an array of observer topic strings, and change ContentParent::Init() and ContentParent::ActorDestroy() to iterate over them. That would make it impossible for the additions and removals to not match.
Attachment #8371123 -
Flags: review?(n.nethercote) → review+
Assignee | ||
Comment 2•11 years ago
|
||
That's a great idea. Let's do that in a followup so that we don't need to land churn on 1.3.
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
I filed bug 970821.
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Comment 6•11 years ago
|
||
status-b2g-v1.4:
--- → fixed
status-firefox28:
--- → wontfix
status-firefox29:
--- → wontfix
status-firefox30:
--- → fixed
![]() |
||
Comment 7•11 years ago
|
||
I verified this is fixed. See bug 963290 comment 24.
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
status-b2g-v1.3T:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•