[
https://issues.apache.org/jira/browse/CB-7204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395275#comment-14395275
]
ASF GitHub Bot commented on CB-7204:
------------------------------------
Github user shazron commented on the pull request:
https://github.com/apache/cordova-plugin-splashscreen/pull/21#issuecomment-89458111
This could be it:
1.
https://github.com/apache/cordova-plugin-splashscreen/blob/d2e62a551c950041cb4c9683624a04d931f4bee3/src/ios/CDVSplashScreen.m#L295-L296
2.
https://github.com/apache/cordova-plugin-splashscreen/blob/d2e62a551c950041cb4c9683624a04d931f4bee3/src/ios/CDVSplashScreen.m#L300
All three instances in the blocks create strong references to self, which
should be weak.
Here is my attempt at a patch:
https://gist.github.com/shazron/e45705f76bef4448139a
Try it out.
> Race condition when hiding and showing spinner
> ----------------------------------------------
>
> Key: CB-7204
> URL: https://issues.apache.org/jira/browse/CB-7204
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin SplashScreen
> Environment: iOS
> Reporter: Andrey Kurdyumov
> Assignee: Shazron Abdullah
> Priority: Minor
> Attachments: Screenshot 2014-07-27 at 19.31.09.png
>
>
> I have application which show spinner on resume to indicate loading activity
> for the application.
> When quickly show and hide application there appears race condition which
> result in the application crash.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]