Fixed leak issue

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

View File

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