Closed Bug 664672 Opened 13 years ago Closed 13 years ago

When a tab has been removed, cut off its link to the browser

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 7

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Keywords: memory-leak)

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) (deleted) — Splinter Review
In order to release the browser when something is erroneously holding a reference to a removed tab, we should cut off the link between the two. mochitest-browser-chrome passed on try with this patch.
Attachment #539742 - Flags: review?(gavin.sharp)
Blocks: bc-leaks
Comment on attachment 539742 [details] [diff] [review] patch Why null out linkedPanel? It's just an ID. It's hard to know whether anyone would be depending on tabs keeping their browsers alive, but I guess there isn't much to do aside from trying it and seeing what breaks.
Attachment #539742 - Flags: review?(gavin.sharp) → review+
Attached patch patch v2 (deleted) — Splinter Review
removed the linkedPanel part, added a test
Attachment #539742 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 7
Keywords: mlk
Setting resolution to Verified Fixed on Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0
Status: RESOLVED → VERIFIED
Blocks: 489622
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: