[
https://issues.apache.org/jira/browse/CB-7204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083512#comment-14083512
]
ASF GitHub Bot commented on CB-7204:
------------------------------------
Github user kant2002 commented on the pull request:
https://github.com/apache/cordova-plugin-splashscreen/pull/21#issuecomment-50960218
When very quickly open and show application, there possibility of the
application crash.
This is caused by following code:
https://github.com/apache/cordova-plugin-splashscreen/blob/cd61952efc68365138115cb1d5fbefa0695198d1/src/ios/CDVSplashScreen.m#L242
When [UIView transitionWithView... animation:] started executing and
application closed before completion handler is invoked, that transition
started executed second time and we have two calls [self destroyViews] which
would be executed twice and cause the crash. Hopefully this is clear
> 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
> Reporter: Andrey Kurdyumov
> 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.2#6252)