From 98aa53de077d27009591b3884c1a6a28ab7d9840 Mon Sep 17 00:00:00 2001 From: Beaudan <beau@loki.network> Date: Fri, 1 Mar 2019 13:58:06 +1100 Subject: [PATCH] Await removing databse --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 253ba553c..6cf89e376 100644 --- a/main.js +++ b/main.js @@ -755,7 +755,7 @@ function getDefaultSQLKey() { async function removeDB() { const userDir = await getRealPath(app.getPath('userData')); - sql.removeDB(userDir); + await sql.removeDB(userDir); try { userConfig.remove();