Closed Bug 15292 Opened 21 years ago Closed 21 years ago

ComponentManager needs to implement nsWeakReference

Categories

(Core :: XPCOM, defect, P2, major)

x86
All
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dp, Assigned: scc-obsolete)

Details

JSComponents are causing strong references to xpcom to be held. This causes
shutdown leaks because a reference to componentmanager is outstanding.

If componentmanager implements a way for weak reference, shaver says that he can
change xpconnect and js components to hold a nsWeakPtr instead of a strong one.

This would fix shutdown leak.s
Severity: normal → major
Priority: P3 → P2
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Added the appropriate machinery, weak references to the component manager are now
possible.
You need to log in before you can comment on or make changes to this bug.