Closed Bug 888688 Opened 11 years ago Closed 11 years ago

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

Categories

(Add-on SDK Graveyard :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: evold, Unassigned)

References

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
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
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.