Skip to content

Commit

Permalink
iOS #198 Crash java.lang.IllegalArgumentException: No strong ref exists
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStahlfelge committed Jun 24, 2019
1 parent ca08956 commit 82dfb01
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,12 @@ public void didReceiveResponse (SKProductsRequest request, SKProductsResponse re
if (appleObserver == null) {
if (startupTransactionObserver != null) {
defaultQueue.removeTransactionObserver(startupTransactionObserver);
defaultQueue.removeStrongRef(startupTransactionObserver);
try {
defaultQueue.removeStrongRef(startupTransactionObserver);
} catch (IllegalArgumentException e) {
// see issue #198
log(LOGTYPEERROR, "No strong exists to startupTransactionObserver");
}
startupTransactionObserver = null;
}

Expand Down

0 comments on commit 82dfb01

Please sign in to comment.