iOS 版 Facebook API 是否泄露?
使用泄漏工具在 Instruments 中测试演示应用程序时,我得到的 GeneralBlock-XXXX 可能是 56 或 2048。选择“发布”按钮后会发生这种情况。 (实际上调用了 [Facebook 对话框:@"feed"];)
任何人都可以证实这一点吗?这和UIWebView有什么关系吗?
顺便说一句,它仅在设备(我使用 iPhone4)上重现,而不在模拟器中重现。还有更多关于此的报告,例如: https://github.com/facebook/facebook -ios-sdk/issues/309
谢谢!
When testing a demo app in Instruments using the leaks tool, I get GeneralBlock-XXXX that can be 56 or 2048. This happens after selecting the Publish button. (which actually calls [Facebook dialog:@"feed"];)
Can anyone confirm this? Does this have anything to do with UIWebView?
BTW, it is reproduced only on device (I used iPhone4) and not in Simulator. There are more reports on this like: https://github.com/facebook/facebook-ios-sdk/issues/309
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这看起来像是 UIWebView 的问题,并且在不同的情况下都是众所周知的。我不可能总结所有建议的答案,所以我认为你应该看看以下两个解决有此问题的人的问题:
general-block-56-1024-8- 244-24-内存泄漏-使用-uiwebview-loadrequest
This looks like its an issue with UIWebView, and is fairly well known from different situations. I can't possibly summarize all the suggested answers, so I think you should look at the following two SO questions which address people having this issue:
generalblock-56-memory-leak-when-calling-loadrequest-in-uiwebview
general-block-56-1024-8-244-24-memory-leaks-using-uiwebview-loadrequest