Created
November 15, 2013 09:17
-
-
Save robUx4/7481503 to your computer and use it in GitHub Desktop.
All this time the huge memory leak was under my eyes #DOH #LruCacheFail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void entryRemoved(boolean evicted, String key, Bitmap oldValue, Bitmap newValue) { | |
super.entryRemoved(evicted, key, oldValue, newValue); | |
oldValue.recycle(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment