Update validate function name in close
This commit is contained in:
parent
86d0fb6643
commit
d76ab91f83
@ -100,7 +100,7 @@ class Database {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async close() {
|
async close() {
|
||||||
this.validate();
|
this._validate();
|
||||||
this.db.close();
|
this.db.close();
|
||||||
this.db = null;
|
this.db = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user