[email/IMAP] synchronization keeps going forever if user switches away from folder during initial sync/growth

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: asuth, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
The IMAP sync logic in growth/initial sync logic will keep issuing additional syncs until the desired number of headers are accumulated.  This works fine unless the slice has been killed, in which case the awkward situation is created where sync keeps going but the slice will never get any of the messages because the call to add the messages will bail because the slice is dead.  `MailSlice.die` needs to become more thorough and the IMAP sync logic needs to explicitly consider/check the possibility that the slice is dead.
(Reporter)

Comment 1

6 years ago
This was fixed on gaia/master by bug 822882.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.