mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
finish MessageRecipientAsyncTask when context is destroyed
Closes #3591 // FREEBIE
This commit is contained in:
parent
f812efff3c
commit
a820500ae0
@ -256,6 +256,7 @@ public class MessageDetailsActivity extends PassphraseRequiredActionBarActivity
|
|||||||
Context context = getContext();
|
Context context = getContext();
|
||||||
if (context == null) {
|
if (context == null) {
|
||||||
Log.w(TAG, "associated context is destroyed, finishing early");
|
Log.w(TAG, "associated context is destroyed, finishing early");
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
Recipients recipients;
|
Recipients recipients;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user