Closed
Bug 1877886
Opened 4 months ago
Closed 4 months ago
NntpIncomingServer._newsrcTimer not cleaned up if the server is removed
Categories
(MailNews Core :: Networking: NNTP, defect)
MailNews Core
Networking: NNTP
Tracking
(thunderbird_esr115 affected)
RESOLVED
FIXED
124 Branch
Tracking | Status | |
---|---|---|
thunderbird_esr115 | --- | affected |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
The constructor of NntpIncomingServer
starts a repeating timer to update the newsrc file, but if the server is removed this timer isn't cleaned up. This leaks the object and leads to error messages:
NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIMsgFolder.subFolders]
writeNewsrcFile@resource:///modules/NntpIncomingServer.jsm:450:24
NntpIncomingServer/this._newsrcTimer<@resource:///modules/NntpIncomingServer.jsm:67:53
notify@resource://gre/modules/Timer.sys.mjs:49:17
Assignee | ||
Comment 1•4 months ago
|
||
Updated•4 months ago
|
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Comment 2•4 months ago
|
||
Hmm, I wonder if bug 1870821 could be something similar...
Assignee | ||
Comment 3•4 months ago
|
||
Maybe, although timers this long are explicitly ignored for that check, so it's not this particular timer.
Keywords: checkin-needed-tb
Target Milestone: --- → 124 Branch
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/0e2b3b2240d3
Stop timer in NntpIncomingServer when it gets shut down. r=mkmelin
You need to log in
before you can comment on or make changes to this bug.
Description
•