mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Garbage collect contact info tasks
This commit is contained in:
@@ -1448,8 +1448,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
ContactInfo[] info = ContactInfo.getCached(context,
|
||||
message.account, message.folderType, selector, addresses);
|
||||
if (info == null) {
|
||||
if (taskContactInfo != null)
|
||||
if (taskContactInfo != null) {
|
||||
taskContactInfo.cancel(context);
|
||||
taskContactInfo = null;
|
||||
}
|
||||
|
||||
Bundle aargs = new Bundle();
|
||||
aargs.putLong("id", message.id);
|
||||
|
||||
Reference in New Issue
Block a user