facebook / facebook/fresco

if CloseableImage getSizeInBytes method,when add to cache getSizeInBytes return real value,when remove to getSizeInBytes return 0,It will cause mExclusiveEntries is empty but mExclusiveEntries.mSizeInBytes is a big value。

Open
#2,568 0 comments 0 reactions 1 assignee Claimed by @defHLT View on GitHub
bug
Dominant language
Kotlin
Stars
17.2k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

if CloseableImage getSizeInBytes method,when add to cache getSizeInBytes return real value,when remove to getSizeInBytes return 0,It will cause mExclusiveEntries is empty but mExclusiveEntries.mSizeInBytes is a big value。
![image](https://user-images.githubusercontent.com/5879656/103335635-815d3180-4ab0-11eb-8f01-0c5121704c23.png)

_Originally posted by @zhangzhige in https://github.com/facebook/fresco/issues/2468#issuecomment-752353627_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.