Skip to content
Snippets Groups Projects
Commit 89fb9fd1 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a small crash possibility

parent 4f1e69be
Branches
Tags
No related merge requests found
......@@ -79,6 +79,7 @@ public abstract class BoundFragment extends Fragment {
@Override
public void onStop() {
super.onStop();
if (binder != null)
binder.removeCallback(consumer);
ServiceHelper.disconnect(getContext(), connection);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment