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
31972cbeb6
commit
960e0daa23
@ -249,6 +249,8 @@ OpenedConnection.prototype = Object.freeze({
|
|||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this._log.debug("Closing.");
|
||||||
|
|
||||||
// Abort in-progress transaction.
|
// Abort in-progress transaction.
|
||||||
if (this._inProgressTransaction) {
|
if (this._inProgressTransaction) {
|
||||||
this._log.warn("Transaction in progress at time of close.");
|
this._log.warn("Transaction in progress at time of close.");
|
||||||
@ -285,6 +287,7 @@ OpenedConnection.prototype = Object.freeze({
|
|||||||
|
|
||||||
let deferred = Promise.defer();
|
let deferred = Promise.defer();
|
||||||
|
|
||||||
|
this._log.debug("Calling asyncClose().");
|
||||||
this._connection.asyncClose({
|
this._connection.asyncClose({
|
||||||
complete: function () {
|
complete: function () {
|
||||||
this._log.info("Closed");
|
this._log.info("Closed");
|
||||||
|
Loading…
Reference in New Issue
Block a user