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 Potential crash on db close #72

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Jan 23, 2025

Overview

This adds extra checks and mutex locks when the .close method is called on a SQLite database connection. This should prevent some cases where closing a database might crash the application.

Units tests have been added to ensure the close method works correctly.

Tests pass on Android and iOS locally.

TODOs

  • The iOS test app seems to be broken.

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.

1 participant