Bug 1673865 - Fix Sqlite async shutdown blocker state vars. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D94987
This commit is contained in:
Marco Bonardo 2020-10-28 13:43:16 +00:00
parent 32fa8ec95b
commit 4ef751c0a8

View File

@ -393,7 +393,7 @@ ConnectionData.prototype = Object.freeze({
},
close: {
value: async () => {
status.isPending = false;
status.isPending = true;
status.command = "<close>";
try {
return await this.close();
@ -404,8 +404,8 @@ ConnectionData.prototype = Object.freeze({
},
executeCached: {
value: async (sql, ...rest) => {
status.isPending = false;
status.command = sql;
status.isPending = true;
status.command = "cached: " + sql;
try {
return await this.executeCached(sql, ...rest);
} finally {