mirror of https://github.com/M66B/FairEmail.git
Fixed small memory leak
This commit is contained in:
parent
5e2a40fd44
commit
fc4ced56f4
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue