kanyun-inc / YTKNetwork

YTKNetwork is a high level request util based on AFNetworking.
MIT License
6.46k stars 1.66k forks source link

取消所有网络请求后,再进行请求在iOS12的系统上会崩溃 #540

Open DotaAntiMagic opened 2 years ago

DotaAntiMagic commented 2 years ago

在每次网络请求之前先调用,[[YTKNetworkAgent sharedAgent] cancelAllRequests]取消所有的网络请求,然后再进行网络请求,在IOS12的系统上会崩溃日志如下: image image image