Browse Source

RecentFragment crash fix

pull/63/head
Ezerous 5 years ago
parent
commit
55e2f63d6b
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/main/recent/RecentFragment.java

2
app/src/main/java/gr/thmmy/mthmmy/activities/main/recent/RecentFragment.java

@ -128,7 +128,7 @@ public class RecentFragment extends BaseFragment {
@Override @Override
public void onDestroy() { public void onDestroy() {
super.onDestroy(); super.onDestroy();
if (recentTask.isRunning()) if (recentTask!=null && recentTask.isRunning())
recentTask.cancel(true); recentTask.cancel(true);
} }

Loading…
Cancel
Save