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?
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?