mirror of https://github.com/M66B/FairEmail.git
Consider folder closed when retrying operation failed
This commit is contained in:
parent
611babe7db
commit
9a6bebe2a0
|
@ -504,6 +504,8 @@ class Core {
|
||||||
|
|
||||||
if (ops.size() == 0)
|
if (ops.size() == 0)
|
||||||
state.batchCompleted(folder.id, priority, sequence);
|
state.batchCompleted(folder.id, priority, sequence);
|
||||||
|
else
|
||||||
|
state.error(new FolderClosedException(ifolder));
|
||||||
} finally {
|
} finally {
|
||||||
Log.i(folder.name + " end process state=" + state + " pending=" + ops.size());
|
Log.i(folder.name + " end process state=" + state + " pending=" + ops.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue