Closed Bug 349323 Opened 18 years ago Closed 15 years ago

profile-startup listener leaked

Categories

(SeaMonkey :: UI Design, defect)

SeaMonkey 1.1 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ajschult784, Assigned: sgautherie)

References

(Blocks 1 open bug, )

Details

(Keywords: memory-leak)

Attachments

(1 file)

After bug 343602, nye reports that nsUpdateNotifier profile-startup listener gets leaked.

Neil said "probably because nsUpdateNotifier is a global rather than a constructor".

Update notifier is going away on trunk, so this only relevant for branch.
(In reply to comment #0)
> After bug 343602, nye reports that nsUpdateNotifier profile-startup listener
> gets leaked.

Now,
'Linux nye Dep bloat' is on (1.9) trunk,
no 'Mozilla1.8-SeaMonkey' box reports leaks :-(

> Update notifier is going away on trunk, so this only relevant for branch.

This file was removed from 1.9(.0) trunk:
<http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/xpfe/components/updates/src/nsUpdateNotifier.js&mark=1.13>
{{
1.13    kairo%kairo.at  2008-05-02 10:34                cvs remove the xpfe
files obsoleted by the recent checkin for bug 383085 which had r=mento,
r/sr=Neil via IRC for cvs removal (files are unused now)
}}
Blocks: 198517
(In reply to comment #0)
> Neil said "probably because nsUpdateNotifier is a global rather than a
> constructor".

I don't know much about that.

But I think removing (all) observers should be an improvement/fix,
even if I don't know how to test the (leak) result.
Assignee: jag → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #328941 - Flags: superreview?(neil)
Attachment #328941 - Flags: review?(neil)
Version: Trunk → SeaMonkey 1.1 Branch
Somehow I doubt we'd take a leak fix on branch, especially without a way of checking for the leak.

I'm not sure why I might have thought that nsUpdateNotifier being a global would make any difference.

I have a hunch that the code doesn't actually need to keep a reference to the timer, thus avoiding all the fiddling about with shutdown observers.
Attachment #328941 - Flags: superreview?(neil)
Attachment #328941 - Flags: review?(neil)
R.WontFix per previous comments.
Blocks: SmTestLeak
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
QA Contact: ui-design
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: