Skip to content

fix: sqlite-node initialize error - #1706

Closed
KotoriMinami wants to merge 1 commit into
Nozbe:masterfrom
KotoriMinami:master
Closed

fix: sqlite-node initialize error#1706
KotoriMinami wants to merge 1 commit into
Nozbe:masterfrom
KotoriMinami:master

Conversation

@KotoriMinami

@KotoriMinami KotoriMinami commented Nov 14, 2023

Copy link
Copy Markdown

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

GitMurf commented Sep 15, 2024

Copy link
Copy Markdown

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

@KotoriMinami

Copy link
Copy Markdown
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