cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kant2002 <...@git.apache.org>
Subject [GitHub] cordova-plugin-splashscreen pull request: CB-7204 Fixed race condi...
Date Sat, 02 Aug 2014 11:08:09 GMT
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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message