mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1673865 - Fix Sqlite async shutdown blocker state vars. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D94987
This commit is contained in:
parent
32fa8ec95b
commit
4ef751c0a8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user