【发布时间】:2015-06-30 10:54:59
【问题描述】:
我在使用Facebook Webview 登录后随机出现此泄漏
我找到了这个(唯一提到com.android.org.chromium):
AW_RESOURCE__SRESOURCES(SAMSUNG.equals(MANUFACTURER) && SDK_INT == KITKAT) {
@Override void add(ExcludedRefs.Builder excluded) {
// AwResource#setResources() is called with resources that hold a reference to the
// activity context (instead of the application context) and doesn't clear it.
// Not sure what's going on there, input welcome.
excluded.staticField("com.android.org.chromium.android_webview.AwResource", "sResources");
}
},
在这个类里面AndroidExcludedRefs.java
本课程正在进行中。您可以通过报告泄漏来提供帮助 似乎是由 Android SDK 引起的痕迹,这里: https://github.com/square/leakcanary/issues/new
但我没有使用三星,所以我仍然有这个泄漏。
话虽如此,这种泄漏是一个已知问题吗?可以忽略吗?
更新:我使用的是 Facebook SDK v3.19,我已更新到 4.3,但问题仍然存在:
【问题讨论】:
标签: android facebook memory-leaks chromium leakcanary