Closed Bug 548458 Opened 15 years ago Closed 15 years ago

xpcshell tests leak when doing offline imap operations

Categories

(MailNews Core :: Backend, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file)

Attached patch proposed fixSplinter Review
Because xpcshell tests tend to do imap commands w/o a message window, we leak undo objects, which hold onto a a lot of the world. I've worked around this in the past by passing in false for "undoable" in the copymessages call, I can't do that for offline tests. This fix uses refptrs, which we should have been using anyway...
Attachment #428841 - Flags: superreview?(bugzilla)
Attachment #428841 - Flags: review?(bugzilla)
Attachment #428841 - Flags: superreview?(bugzilla)
Attachment #428841 - Flags: superreview+
Attachment #428841 - Flags: review?(bugzilla)
Attachment #428841 - Flags: review+
fix checked in. Marking in testsuite since xpcshell tests will cover this.
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: