Closed Bug 941726 Opened 7 years ago Closed 6 years ago

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

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: Paolo, Assigned: Paolo)

References

Details

Attachments

(1 file)

Attached 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.