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-node initialize error #1706

Closed
wants to merge 1 commit into from
Closed

fix: sqlite-node initialize error #1706

wants to merge 1 commit into from

Conversation

KotoriMinami
Copy link

@KotoriMinami KotoriMinami commented Nov 14, 2023

If this instance is not closed, it will result in the occupation of the database file.
This leads to calling the unsafeDestroyEverything method during setUpWithSchema.
Although the connection of the new instance is closed,
an error resource busy or locked still occurs when executing fs.unlinkSync.
This fixes #1705

@KotoriMinami KotoriMinami closed this by deleting the head repository Nov 15, 2023
@GitMurf
Copy link

GitMurf commented Sep 15, 2024

@KotoriMinami is the reason you closed this PR is to replace it in favor of this? #1707

@KotoriMinami
Copy link
Author

@KotoriMinami is the reason you closed this PR is to replace it in favor of this? #1707

Yes, since I'm not very familiar with using the PR feature, and I found that the current submission wasn't thorough enough, I created a new one.

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.

In a Node.js environment, throws a resource lock error.
2 participants