mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fix bug in releasing service connection
This commit is contained in:
parent
3f025aa68a
commit
8f75ed2801
2 changed files with 2 additions and 2 deletions
|
|
@ -190,8 +190,8 @@ public class ShareActivity extends AuthenticatedActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
unbindService(uploadServiceConnection);
|
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
|
unbindService(uploadServiceConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -134,8 +134,8 @@ public class ContributionsActivity extends AuthenticatedActivity implements Load
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
unbindService(uploadServiceConnection);
|
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
|
unbindService(uploadServiceConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
private GridView contributionsList;
|
private GridView contributionsList;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue