mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 01:03:08 +00:00
fixImageFileCacheCrash
Signed-off-by: hw_wyx <wuyinxiao@huawei.com> Change-Id: Ifef1b595d0fffb12dc9966bc6a390533e4d1c689
This commit is contained in:
parent
bb5626e481
commit
200269a362
@ -215,8 +215,8 @@ void ImageFileCache::EraseCacheFile(const std::string &url)
|
||||
TAG_LOGW(AceLogTag::ACE_IMAGE, "remove file %{private}s failed.", removeFile.c_str());
|
||||
return;
|
||||
}
|
||||
cacheFileInfo_.erase(infoIter);
|
||||
cacheFileSize_ -= infoIter->fileSize;
|
||||
cacheFileInfo_.erase(infoIter);
|
||||
fileNameToFileInfoPos_.erase(fileCacheKey);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user