Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit ad13da0

Browse files
committed
Fix incorrect db delete
1 parent f73a50f commit ad13da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/db-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DBManager {
3030
this.db_list_remove = async (dbn) => {
3131
let db = find_db(dbn)
3232
if (db) {
33-
await db.disconnect()
33+
await db.close()
3434
delete _dbs[db.dbname];
3535
}
3636
}

0 commit comments

Comments
 (0)