Open
Bug 401295
Opened 17 years ago
Updated 10 months ago
Use new shutdown service to empty trash, expunge inbox, compact folders on shutdown
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
NEW
People
(Reporter: Bienvenu, Unassigned)
References
Details
(Whiteboard: [patchlove][has draft patch])
Attachments
(1 file)
25.82 KB,
patch
|
Details | Diff | Splinter Review |
In order to test the new shutdown service, and refine its API, I've done a little work to move expunging the inbox and emptying trash on shutdown to the new shutdown service, and reworked the compact folder code so that it can be used by the shutdown service (which mostly involves making sure the url listener is notified). The attached patch basically works though it needs to be improved on. It should use a pref to decide if it should compact on exit, and shouldn't hard-code the per-server threshold (though using the global threshold isn't the right thing either). We could perhaps prompt the user if they want to compact folders on exit as well...
Reporter | ||
Comment 2•17 years ago
|
||
if we do this, instead of just commenting out the call to hashshutdown servers, we should remove all that code as well.
Updated•17 years ago
|
OS: Windows XP → All
Hardware: PC → All
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•12 years ago
|
Assignee: mozilla → nobody
Whiteboard: [patchlove][has draft patch]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•