Skip to content

Opening / closing the database connection, possible bug when user restarts application. #54

Description

@mozey

I have a bug that only occurs when I restart my application by clicking the home button, double clicking and then selecting the minus next to the app icon.

Sometimes my success or error callbacks passed to db.transaction is never called. This only happens intermittently after restart and I don't get any Javascript error therefore I suspect a race condition.

I have looked at the code for dealloc in SQLitePlugin.m but my Objective-C knowledge is not that good. So my question is this. Is it possible that the database connection is closed after I've restarted the application?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions