From b64d1409a049d458e6a3edcdb57171d2f2e37a3e Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sat, 8 May 2021 15:52:40 +0900 Subject: [PATCH] Fix instance leak --- .../main/java/awais/instagrabber/activities/MainActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivity.java b/app/src/main/java/awais/instagrabber/activities/MainActivity.java index 299db16b..9b052c8c 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivity.java +++ b/app/src/main/java/awais/instagrabber/activities/MainActivity.java @@ -335,6 +335,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage } catch (Exception e) { Log.e(TAG, "onDestroy: ", e); } + instance = null; } @Override