mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Prevent lock out
This commit is contained in:
parent
c670ec5a9b
commit
3314ac0cc2
1 changed files with 1 additions and 5 deletions
|
@ -164,10 +164,8 @@ class Core {
|
|||
" group=" + group +
|
||||
" retry=" + retry);
|
||||
|
||||
if (ifolder != null && !ifolder.isOpen()) {
|
||||
state.error(new FolderClosedException(ifolder));
|
||||
if (ifolder != null && !ifolder.isOpen())
|
||||
break;
|
||||
}
|
||||
|
||||
// Fetch most recent copy of message
|
||||
EntityMessage message = null;
|
||||
|
@ -510,8 +508,6 @@ 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