diff --git a/db.ts b/db.ts index ff509c1..aac8c99 100644 --- a/db.ts +++ b/db.ts @@ -204,7 +204,7 @@ export class EhDb { this.db.close(); if (this.file) { this.file.close(); - if (this.#lock_file) Deno.remove(this.#lock_file); + if (this.#lock_file) Deno.removeSync(this.#lock_file); } } async commit() {