Close without expunging

pull/209/head
M66B 2 years ago
parent 8cb1e7fe2f
commit a6b4e15d3d

@ -814,7 +814,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
try {
if (state.ifolder != null && state.ifolder.isOpen())
state.ifolder.close();
state.ifolder.close(false);
} catch (Throwable ex) {
Log.e("Boundary", ex);
}

@ -1089,7 +1089,7 @@ class Core {
archived = (imessages != null && imessages.length > 0);
} finally {
if (iarchive.isOpen())
iarchive.close();
iarchive.close(false);
}
if (archived)
@ -1642,7 +1642,7 @@ class Core {
Log.w(ex);
} finally {
if (itarget.isOpen())
itarget.close();
itarget.close(false);
}
// Delete junk contacts
@ -2337,7 +2337,7 @@ class Core {
try {
itarget.open(READ_WRITE);
itarget.setSubscribed(subscribed);
itarget.close();
itarget.close(false);
} catch (MessagingException ex) {
Log.w(ex);
}

Loading…
Cancel
Save