Fixed leak issue

This commit is contained in:
Pierre 2018-01-02 08:51:29 +01:00
parent 352627067e
commit c2e599993b

View File

@ -170,7 +170,8 @@ public class ConversationsListFragment extends Fragment implements AdapterView.O
@Override
protected void onPostExecute(ArrayList<ConversationsInfo> list) {
display_conversations_list(list);
if(getActivity() != null)
display_conversations_list(list);
}
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);