Closed Bug 892341 Opened 11 years ago Closed 11 years ago

sdk/console/plain-text leaks

Categories

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

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Unassigned)

References

Details

Attachments

(2 files)

Attached image screen shot
I made an add-on with a blank main.js and it appears that the sdk/console/plain-text module is leaking.  See the attached screen shot, it was taken after forcing a gc multiple times.
Attachment #773779 - Flags: review?(rFobic)
Comment on attachment 773779 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/1094

Thanks!
Attachment #773779 - Flags: review?(rFobic) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/3aa505d198fb7ffef0abdec23863583ec48e5d09
Bug 892341 sdk/console/plain-text leaks, use a weak ref instead of a strong ref

https://github.com/mozilla/addon-sdk/commit/1cc54b179442abb4e575b03d1909ee3d36bfa84d
Merge pull request #1094 from erikvold/892341

Bug 892341 sdk/console/plain-text leaks, use a weak ref instead of a strong ref r=@gozala
This should be uplifted imo, because every 1.14 jetpack in existence is leaking due to the leak patched here.
(In reply to Erik Vold [:erikvold] [:ztatic] from comment #5)
> This should be uplifted imo, because every 1.14 jetpack in existence is
> leaking due to the leak patched here.

What kind of a leak are we talking about here. Does it only leak if the add-on is disabled at runtime? Does the leak grow in size over time?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: