If a panel is GC'd then it won't be disposed, and therefore it leaks

RESOLVED INVALID

Status

RESOLVED INVALID
5 years ago
5 years ago

People

(Reporter: evold, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

See bug 886148, we should have a test for this too..
Depends on: 886148
Summary: If a panel is GC'd then it won't be disposed, and therefore leak. → If a panel is GC'd then it won't be disposed, and therefore it leaks
Blocks: 859012
Blocks: 879068
I think this should be P1
Panel can't be GC-ed as long as associated panel DOM element is alive, since it's weak mapped to it. Panel DOM element is alive as long as add-on is loaded. Unless there are some weak maps bug I don't think this is true.
Ah I see now that there is a circular reference between the panel and the view which means panels are not GC-able..
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.