Fix bug in releasing service connection

This commit is contained in:
YuviPanda 2013-02-19 12:56:47 +05:30
parent 3f025aa68a
commit 8f75ed2801
2 changed files with 2 additions and 2 deletions

View file

@ -190,8 +190,8 @@ public class ShareActivity extends AuthenticatedActivity {
@Override
protected void onDestroy() {
unbindService(uploadServiceConnection);
super.onDestroy();
unbindService(uploadServiceConnection);
}
@Override

View file

@ -134,8 +134,8 @@ public class ContributionsActivity extends AuthenticatedActivity implements Load
@Override
protected void onDestroy() {
unbindService(uploadServiceConnection);
super.onDestroy();
unbindService(uploadServiceConnection);
}
private GridView contributionsList;