[android] Added removing of validation/billing callbacks to fix the crash

This commit is contained in:
Александр Зацепин 2019-04-03 16:33:57 +03:00 committed by yoksnod
parent 671e84fbe3
commit d9ae46d9e6

View file

@ -47,6 +47,8 @@ public class FailedBookmarkPurchaseController implements PurchaseController<Fail
public void destroy()
{
mBillingManager.destroy();
mValidator.removeCallback();
mBillingManager.removeCallback(mBillingCallback);
}
@Override