You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my use of grant, I met a problem that, when user spend more than 10 seconds or more time to decide whether to give the permission, references in the action list will be GCed, actions get from iterator will return null and will be removed from the list. In that situation, no followed code will be executed, callbacks will NEVER be executed.
For the case, I changed the weakreference list to strong reference objects list as an alternative way, thus suffered from memory leaked risk, but it just worked fine for me and infact you do not have that much dangerous permissions to gain permission.
Hope for a more memory safe way to handle this problem.
The text was updated successfully, but these errors were encountered:
In my use of grant, I met a problem that, when user spend more than 10 seconds or more time to decide whether to give the permission, references in the action list will be GCed, actions get from iterator will return null and will be removed from the list. In that situation, no followed code will be executed, callbacks will NEVER be executed.
For the case, I changed the weakreference list to strong reference objects list as an alternative way, thus suffered from memory leaked risk, but it just worked fine for me and infact you do not have that much dangerous permissions to gain permission.
Hope for a more memory safe way to handle this problem.
The text was updated successfully, but these errors were encountered: