forked from flutter/plugins
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[In_app_purchase]fix requesthandler crash (flutter#1199)
The FIAPRequestHandler is destroyed when exiting the function. Since FIAPRequestHandler is the delegate, when SKProductRequest tries to execute the delegate method, it will not be able to find the delegate. Hence the crash. Adding a set to hold strong reference of the FIAPRequestHandler until it is complete fix the crash.
- Loading branch information
Chris Yang
authored and
Altercode IT Solutions
committed
Feb 19, 2019
1 parent
f6f60d5
commit 803fee9
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters