Kingfisher icon indicating copy to clipboard operation
Kingfisher copied to clipboard

阻塞主线程过久,会导致crash

Open bingFly opened this issue 1 year ago • 4 comments

https://github.com/onevcat/Kingfisher/blob/af4be924ad984cf4d16f4ae4df424e79a443d435/Sources/Cache/DiskStorage.swift#L212

阻塞主线程过久,会导致crash

image

bingFly avatar Mar 20 '23 02:03 bingFly

主线程 IO 导致的 ANR 是个严重问题,但是大部分开发者的确忽略了判断文件是否存在的 API 也有这个问题,我们见过很多这样的例子😭

yulingtianxia avatar Jul 05 '23 09:07 yulingtianxia

同遇到,求大神重视和解决。

luoxubin avatar Jul 05 '23 09:07 luoxubin

遇到无限次了 image 这个IO很耗时

meiyongsheng avatar Jul 05 '23 09:07 meiyongsheng

同遇到,求大神重视和解决。

chenun123 avatar Jul 05 '23 09:07 chenun123