finish MessageRecipientAsyncTask when context is destroyed

Closes #3591

// FREEBIE
fork-5.53.8
agrajaghh 2015-07-09 22:02:12 +02:00 zatwierdzone przez Moxie Marlinspike
rodzic f812efff3c
commit a820500ae0
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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