mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 720311 - Don't open formhistory.sqlite on shutdown in order to close it. r=mak
--HG-- extra : rebase_source : 675477f85954d74601b69fe1ab6f937e50e5adcf
This commit is contained in:
parent
74ef5ce548
commit
43315a618f
@ -923,7 +923,10 @@ FormHistory.prototype = {
|
||||
stmt.finalize();
|
||||
}
|
||||
this.dbStmts = {};
|
||||
if (this.dbConnection === undefined)
|
||||
|
||||
let connectionDescriptor = Object.getOwnPropertyDescriptor(FormHistory.prototype, "dbConnection");
|
||||
// Return if the database hasn't been opened.
|
||||
if (!connectionDescriptor || connectionDescriptor.value === undefined)
|
||||
return;
|
||||
|
||||
let completed = false;
|
||||
|
Loading…
Reference in New Issue
Block a user