mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Cancel operations on out of memory
This commit is contained in:
@@ -213,7 +213,8 @@ public class ServiceSend extends LifecycleService {
|
||||
if (message != null)
|
||||
db.message().setMessageError(message.id, Helper.formatThrowable(ex));
|
||||
|
||||
if (ex instanceof MessageRemovedException ||
|
||||
if (ex instanceof OutOfMemoryError ||
|
||||
ex instanceof MessageRemovedException ||
|
||||
ex instanceof SendFailedException ||
|
||||
ex instanceof IllegalArgumentException) {
|
||||
Log.w("Unrecoverable");
|
||||
|
||||
Reference in New Issue
Block a user