mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813833 - Part 2: Add additional logging around connection close; r=trivial
This commit is contained in:
parent
d7cdfb93bf
commit
5c3b96ccdb
@ -249,6 +249,8 @@ OpenedConnection.prototype = Object.freeze({
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
this._log.debug("Closing.");
|
||||
|
||||
// Abort in-progress transaction.
|
||||
if (this._inProgressTransaction) {
|
||||
this._log.warn("Transaction in progress at time of close.");
|
||||
@ -285,6 +287,7 @@ OpenedConnection.prototype = Object.freeze({
|
||||
|
||||
let deferred = Promise.defer();
|
||||
|
||||
this._log.debug("Calling asyncClose().");
|
||||
this._connection.asyncClose({
|
||||
complete: function () {
|
||||
this._log.info("Closed");
|
||||
|
Loading…
Reference in New Issue
Block a user