mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 22:09:30 +00:00
Fixed leak issue
This commit is contained in:
parent
352627067e
commit
c2e599993b
@ -170,7 +170,8 @@ public class ConversationsListFragment extends Fragment implements AdapterView.O
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(ArrayList<ConversationsInfo> list) {
|
protected void onPostExecute(ArrayList<ConversationsInfo> list) {
|
||||||
display_conversations_list(list);
|
if(getActivity() != null)
|
||||||
|
display_conversations_list(list);
|
||||||
}
|
}
|
||||||
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user