You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Git at Apache <gi...@git.apache.org> on 2012/07/03 15:06:09 UTC

incubator-cordova-ios pull request: End background task for LocalStorage ba...

GitHub user walm opened a pull request:

    https://github.com/apache/incubator-cordova-ios/pull/24

    End background task for LocalStorage backup if iOS terminate app before jobb is completed

    I've got __EXEC_BAD_ACCESS__ sometimes on
    
        [self backup:nil withDict:nil];
        [[UIApplication sharedApplication] endBackgroundTask: backgroundTaskID];
    
    so after adding _[[UIApplication sharedApplication] endBackgroundTask_ in expired handler, it all worked fine.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/WalmNet/incubator-cordova-ios master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-cordova-ios/pull/24.patch

----
commit 33549f6e0233a99ef5364e2b1c9ddac1bdb1b211
Author: Andreas Wålm <an...@walm.net>
Date:   2012-07-03T05:54:03-07:00

    LocalStorage backup background task, set invalid when expired.

----