Prevent DownloadLegacy from keeping a reference to the network request after the download is stopped

RESOLVED FIXED in mozilla30

Status

()

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Paolo, Assigned: Paolo)

Tracking

Trunk
mozilla30
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Posted patch The patchSplinter Review
In bug 939510, a memory leak has been observed because the DownloadLegacy object kept a reference to the request object through a closure in the handler registered on deferCanceled.
Attachment #8336167 - Flags: review?(enndeakin)
Attachment #8336167 - Flags: review?(enndeakin) → review+
https://hg.mozilla.org/mozilla-central/rev/8800134ab715
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.