Closed Bug 385982 Opened 18 years ago Closed 18 years ago

WebContentConverterRegistrar in cycle with nsJSID

Categories

(Firefox Graveyard :: RSS Discovery and Preview, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: sayrer)

References

Details

Attachments

(1 file)

This is probably what causes leaks with XPCOMUtils as well, since the nsJSID is assigned to the object's prototype in that case. In this case, WCCR has its id assigned to itself so that it can implement nsIClassInfo.
Attached patch null out classIDSplinter Review
The nsJSID stuff could probably use some cycle collection, but I'm not sure which of the various wrappers need it.
Assignee: nobody → sayrer
Status: NEW → ASSIGNED
Attachment #269926 - Flags: review?
Comment on attachment 269926 [details] [diff] [review] null out classID while I'm in the neighborhood, delete an unused and duplicated IID that I discovered during debugging.
Attachment #269926 - Flags: review? → review?(gavin.sharp)
Attachment #269926 - Flags: review?(gavin.sharp) → review+
Here are the leaks this patch fixed, FWIW. --FIXED-LEAKS------------------------leaks------leaks% XPCWrappedNative 1400 -3.85% nsJSID 0 -100.00% TOTAL 1400
Filed bug 385993 on the cycle.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Depends on: 393993
Flags: in-testsuite?
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: