Browse Source

Fix instance leak

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
b64d1409a0
  1. 1
      app/src/main/java/awais/instagrabber/activities/MainActivity.java

1
app/src/main/java/awais/instagrabber/activities/MainActivity.java

@ -335,6 +335,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
} catch (Exception e) { } catch (Exception e) {
Log.e(TAG, "onDestroy: ", e); Log.e(TAG, "onDestroy: ", e);
} }
instance = null;
} }
@Override @Override

Loading…
Cancel
Save