Skip to content
New issue

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

反复请求网页,内存泄漏,导致崩溃,有解吗? #4

Open
AKin28 opened this issue Sep 28, 2017 · 2 comments
Open

反复请求网页,内存泄漏,导致崩溃,有解吗? #4

AKin28 opened this issue Sep 28, 2017 · 2 comments

Comments

@AKin28
Copy link

AKin28 commented Sep 28, 2017

No description provided.

@yeatse
Copy link
Owner

yeatse commented Sep 28, 2017

把 WKProcessPool 设置成单例试试?

@AKin28
Copy link
Author

AKin28 commented Sep 28, 2017

不注册NSURLProtocol +
[NSURLProtocol wk_registerScheme:@"http"];
[NSURLProtocol wk_registerScheme:@"https"];就不会造成崩溃,
我看到NSURLProtocol-WebKitSupport里忽略内存泄漏的警告,是那里造成泄漏的吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants