Fixed small memory leak

This commit is contained in:
M66B 2022-04-13 17:49:08 +02:00
parent 5e2a40fd44
commit fc4ced56f4
1 changed files with 1 additions and 0 deletions

View File

@ -1047,6 +1047,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override @Override
protected void onDestroy() { protected void onDestroy() {
lastSnackbar = null;
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(this); LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(this);
lbm.unregisterReceiver(creceiver); lbm.unregisterReceiver(creceiver);
super.onDestroy(); super.onDestroy();