Skip to content

Commit

Permalink
Fix LMDB tests failing on double close
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jun 4, 2024
1 parent 0177af9 commit 32559fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/lmdb-embedded.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class LMDBStorage {
try {
return await this.db.close();
} catch (e) {
if (/The environment is already closed/.test(e.message)) {
if (/is already closed/.test(e.message)) {
return;
}
throw e;
Expand Down

0 comments on commit 32559fa

Please sign in to comment.