Closed
Bug 43588
Opened 25 years ago
Closed 24 years ago
nsRepeatService held past XPCOM shutdown in static nsCOMPtr
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla0.9
People
(Reporter: dbaron, Assigned: dbaron)
References
(Blocks 1 open bug)
Details
(Keywords: memory-leak, topembed+, Whiteboard: [tind-mlk][nsbeta3-])
nsRepeatService::gInstance is held past XPCOM shutdown in a static nsCOMPtr. It
is defined at
http://lxr.mozilla.org/seamonkey/source/layout/xul/base/src/nsRepeatService.h#55
See bug 43561 for more info.
Comment 1•25 years ago
|
||
eric, why have the static GetInstance() method? Isn't this exactly what the
ServiceManager does for you? You shouldn't be re-implementing it yourself.
Assignee: trudelle → evaughan
Assignee | ||
Updated•25 years ago
|
Whiteboard: [tind-mlk]
Comment 2•25 years ago
|
||
mass-moving all evaughan non-nsbeta3+ bugs to 'Future' milestone
(per trudelle).
Updated•25 years ago
|
Target Milestone: --- → Future
Comment 3•24 years ago
|
||
can't we make it a raw static and release it when a service w/ scope to it's
lifetime is shutdown?
Keywords: nsbeta3
Comment 4•24 years ago
|
||
This is very easy to fix. Just a few lines. But I would have to get it beta3+ to
fix it. :)
Status: NEW → ASSIGNED
Comment 5•24 years ago
|
||
Why is this worth any time/risk?
Comment 6•24 years ago
|
||
nsbeta3-, if shown to be necessary, we may be able to reconsider this later.
Whiteboard: [tind-mlk] → [tind-mlk][nsbeta3-]
Assignee | ||
Comment 7•24 years ago
|
||
Taking this bug since I attached a proposed fix to bug 43582.
Assignee: evaughan → dbaron
Status: ASSIGNED → NEW
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9
Assignee | ||
Comment 8•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•