We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.AF中
The text was updated successfully, but these errors were encountered:
Fix the leak problem caused by the loop #1
695630a
9e91a2b
No branches or pull requests
KJNetworkingRequest->@Property (nonatomic, strong) NSArray<id>*plugins;
循环引用所有reqest response plugins 都释放不了
2.AF中
@synchronized (self) {
if (!_session) {
_session = [NSURLSession sessionWithConfiguration:self.sessionConfiguration delegate:self delegateQueue:self.operationQueue];
}
}
return _session;
}
delegate:self 代理为强引用,这个框架不做单例每次创建session 所有session都释放不了 没有任何地方发现手动掉用finishTasksAndInvalidate或者invalidateAndCancel。
The text was updated successfully, but these errors were encountered: