Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sqlite): resolve race condition, add comments #235

Merged
merged 1 commit into from
Jun 20, 2016

Conversation

mlynch
Copy link
Collaborator

@mlynch mlynch commented Jun 20, 2016

This fix resolves a race condition with the SQLite constructor where the database was constructed but there was no way to wait on it. Now, the user must call openDatabase explicitly which returns a promise that they can wait on before working with the database.

I've also added some documentation to a few core methods as a quick start.

@ihadeed ihadeed merged commit f1c8ce3 into master Jun 20, 2016
@ihadeed ihadeed deleted the wip-sqlite-refactor branch July 18, 2016 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants