Minor fix

This commit is contained in:
2023-05-20 09:06:49 +08:00
parent 81e8655d3b
commit aac3bcf69d

2
db.ts
View File

@@ -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() {