summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 12:45:50 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 12:45:50 -0500
commitd76ab91f83db048aa907e0483123feb437336c22 (patch)
treecc135933fa2c827de0eafb2bdc0cc1002de37a2b /ext/bg/js
parent86d0fb664361251287e6327bc10c6d56c6af5c8c (diff)
Update validate function name in close
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/database.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index c42b9d89..a5919868 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -100,7 +100,7 @@ class Database {
}
async close() {
- this.validate();
+ this._validate();
this.db.close();
this.db = null;
}