fun close() { synchronized(mDiskCacheLock) { if (mDiskLruCache != null) { try { if (!mDiskLruCache.isClosed()) { mDiskLruCache.close() } } catch (e: Throwable) { LogUtils.e(e.message, e) } mDiskLruCache = null } } }
Common initialization code for new list entries .