mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Consider folder closed when retrying operation failed
This commit is contained in:
parent
611babe7db
commit
9a6bebe2a0
1 changed files with 2 additions and 0 deletions
|
@ -504,6 +504,8 @@ class Core {
|
|||
|
||||
if (ops.size() == 0)
|
||||
state.batchCompleted(folder.id, priority, sequence);
|
||||
else
|
||||
state.error(new FolderClosedException(ifolder));
|
||||
} finally {
|
||||
Log.i(folder.name + " end process state=" + state + " pending=" + ops.size());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue