Closed Bug 1924918 Opened 14 days ago Closed 7 days ago

Compacting folders should be aborted at shutdown

Categories

(MailNews Core :: General, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr128 affected)

RESOLVED FIXED
133 Branch
Tracking Status
thunderbird_esr128 --- affected

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(2 files, 1 obsolete file)

Like it says in the title. If Thunderbird is shutting down, compacting folders should be abandoned, and the backup files restored.

I think this would solve a bunch of our crashes where we try to access things that are no longer there. And even if it doesn't, we shouldn't keep doing things like compaction after the program goes into shutdown mode.

This test is a mess. Let's drag it out of the dark ages.

Attachment #9431169 - Attachment is obsolete: true
Version: unspecified → Thunderbird 91

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/208e26dc06a0
Clean up test_folderCompact.js. r=mkmelin
https://hg.mozilla.org/comm-central/rev/fd3398e939c3
Stop compacting folders when shutdown begins. r=BenC

Status: ASSIGNED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: