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

使用这个分类造成崩溃 #9

Open
paintingStyle opened this issue May 19, 2018 · 5 comments
Open

使用这个分类造成崩溃 #9

paintingStyle opened this issue May 19, 2018 · 5 comments

Comments

@paintingStyle
Copy link

偶尔会出现崩溃的,
Crashlytics崩溃日志如下:
0 | WebKit | WebKit::LegacyCustomProtocolManagerProxy::stopLoading(unsigned long long) + 20
1 | CFNetwork | __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60
2 | CFNetwork | -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 200
3 | CFNetwork | -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56
4 | CFNetwork | invocation function for block in URLConnectionClient_Classic::_delegate_didFinishLoading(void () block_pointer) + 100
5 | CFNetwork | invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer) + 108
6 | libdispatch.dylib |  

2018-05-19 4 55 54

@yeatse
Copy link
Owner

yeatse commented May 21, 2018

看起来有点像 #2 的问题,你看看把 WKWebView 所使用的 WKProcessPool 设置成单例是否OK

@monzy613
Copy link

monzy613 commented Aug 9, 2018

@paintingStyle 这个问题你把WKProcessPool设置成单例试过了吗 我貌似还会出现这个问题

@tianwenshi
Copy link

试了,可以的

@tianwenshi
Copy link

给力

@wangjunhua1
Copy link

@paintingStyle 这个问题你把WKProcessPool设置成单例试过了吗 我貌似还会出现这个问题

请问这个WKProcessPool 我在项目中完全没有用到 怎么设置成单例呢 ?能具体一点吗?

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

5 participants