Consider folder closed when retrying operation failed

This commit is contained in:
M66B 2020-03-31 09:20:54 +02:00
parent 611babe7db
commit 9a6bebe2a0
1 changed files with 2 additions and 0 deletions

View File

@ -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());
}