diff --git a/src/plugins/sqlite.js b/src/plugins/sqlite.js index afe930aa..2e4d0f87 100644 --- a/src/plugins/sqlite.js +++ b/src/plugins/sqlite.js @@ -73,6 +73,8 @@ class MessageStorage { return; } + this.isEnabled = false; + this.database.close((err) => { if (err) { log.error(`Failed to close sqlite database: ${err}`);