Make sure to remove backstackChangeListener when finished.

This commit is contained in:
Dmitry Brant 2017-05-26 16:32:00 -04:00
parent bb5a6691f1
commit dea43c04b9
3 changed files with 13 additions and 10 deletions

View file

@ -81,6 +81,7 @@ public class ContributionsActivity
@Override
protected void onDestroy() {
getSupportFragmentManager().removeOnBackStackChangedListener(this);
super.onDestroy();
if(isUploadServiceConnected) {
unbindService(uploadServiceConnection);