Watch service leaks

This commit is contained in:
M66B
2022-05-02 10:15:29 +02:00
parent 358bbaad84
commit 149539afec
8 changed files with 23 additions and 0 deletions

View File

@@ -142,4 +142,10 @@ public class ServicePowerControl extends ControlsProviderService {
.putExtra("tab", "misc"),
PendingIntent.FLAG_UPDATE_CURRENT);
}
@Override
public void onDestroy() {
super.onDestroy();
CoalMine.watch(this, this.getClass().getName() + "#onDestroy");
}
}