@Override protected void finalize() throws Throwable { super.finalize(); if (!mHeadshot) mDeadCache.put(mUrl, mDrawable); mAllCache.remove(mDrawable); mLiveCache.remove(mUrl); clog("Zombie GC event " + mUrl); }
@Override protected void finalize() throws Throwable { super.finalize(); mDeadCache.put(mUrl, mDrawable); mAllCache.remove(mDrawable); mLiveCache.remove(mUrl); if (Constants.LOG_ENABLED) Log.i(Constants.LOGTAG, "Zombie GC event"); System.gc(); }