Closed Bug 828593 Opened 11 years ago Closed 11 years ago

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

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: asuth, Unassigned)

Details

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.
This was fixed on gaia/master by bug 822882.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.