From fc4ced56f406961d9c9a54dee5f51293a5393ee2 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 13 Apr 2022 17:49:08 +0200 Subject: [PATCH] Fixed small memory leak --- app/src/main/java/eu/faircode/email/ActivityView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index f5e8909795..c9f5f5805a 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -1047,6 +1047,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB @Override protected void onDestroy() { + lastSnackbar = null; LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(this); lbm.unregisterReceiver(creceiver); super.onDestroy();