Skip to content

Commit 5a8c3c9

Browse files
authored
Merge pull request #22 from snatalenko/codex/prepend-await-for-initlocker.acquire
Fix lock acquisition in SQLite accessor
2 parents e95f074 + dca61ee commit 5a8c3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqlite/AbstractSqliteAccessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export abstract class AbstractSqliteAccessor {
4040
return;
4141

4242
try {
43-
this.#initLocker.acquire();
43+
await this.#initLocker.acquire();
4444
if (this.#initialized)
4545
return;
4646

0 commit comments

Comments
 (0)