Cancel sync on closed folder

pull/189/head
M66B 4 years ago
parent 44c44571d1
commit fe0dcf587b

@ -467,6 +467,8 @@ class Core {
ex instanceof FolderNotFoundException || ex instanceof FolderNotFoundException ||
ex instanceof IllegalArgumentException || ex instanceof IllegalArgumentException ||
ex instanceof SQLiteConstraintException || ex instanceof SQLiteConstraintException ||
(ex instanceof IllegalStateException &&
EntityOperation.SYNC.equals(op.name)) ||
(!ConnectionHelper.isIoError(ex) && (!ConnectionHelper.isIoError(ex) &&
(ex.getCause() instanceof BadCommandException || (ex.getCause() instanceof BadCommandException ||
ex.getCause() instanceof CommandFailedException /* NO */)) || ex.getCause() instanceof CommandFailedException /* NO */)) ||

Loading…
Cancel
Save