ChangbaDevs / KTVHTTPCache

A powerful media cache framework.
MIT License
2.35k stars 435 forks source link

同时请求5个数据 #129

Closed S209 closed 8 months ago

S209 commented 4 years ago

Working retain 和Working release 个数不匹配,Release 比reatin 少几个

S209 commented 4 years ago

请求一个的时候就没有问题

libobjc commented 8 months ago

看 console 的 log 判断的?

这种情况大概率是被 console 隐藏了部分 log,如下

1 log/signpost messages lost due to high rates in live mode recording. To guarantee delivery of all logs, set IDELogRedirectionPolicy to oslogToStdio in the environment of the executable.

先通过断点查看 Unit 中 workingCount 的值,或通过下面 API 贴出完整 log

/**
 *  Get the value that enables the record log.
 *
 *  @return The value that enables the record log.
 */
+ (BOOL)logRecordLogEnable;

/**
 *  Get the path to the log file.
 *
 *  @return The path to the log file.
 */
+ (NSURL *)logRecordLogFileURL;