Garbage collect contact info tasks

pull/194/merge
M66B 3 years ago
parent f674a4b14d
commit 41ecc99d46

@ -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);

Loading…
Cancel
Save