Google Play Billing Library 3.0.3 导致内存泄漏

问题描述

根据 Play Billing 库 3.0.3 的发行说明,内存泄漏已得到修复。但我仍然从 Leak Canary 得到这个泄漏


enter image description here

enter image description here

Google Play Billing Library release notes

我在其中设置 BillingClient 的代码(onCreate 我的 Fragment)


enter image description here

调用 BillingClient.endConnection() 的代码(onDestroyView of my Fragment)


enter image description here

我的代码是否有问题,或者是 Google 库中现有的内存泄漏?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)