KTVHTTPCache
KTVHTTPCache copied to clipboard
同时请求5个数据
Working retain 和Working release 个数不匹配,Release 比reatin 少几个
请求一个的时候就没有问题
看 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;