finish MessageRecipientAsyncTask when context is destroyed

Closes #3591

// FREEBIE
This commit is contained in:
agrajaghh 2015-07-09 22:02:12 +02:00 committed by Moxie Marlinspike
parent f812efff3c
commit a820500ae0

View File

@ -256,6 +256,7 @@ public class MessageDetailsActivity extends PassphraseRequiredActionBarActivity
Context context = getContext();
if (context == null) {
Log.w(TAG, "associated context is destroyed, finishing early");
return null;
}
Recipients recipients;