in src/TransactionLockHelper.ts [86:91]
private _checkClose() { if (!this._closed && this._closingDefer && !this.hasTransaction()) { this._closed = true; this._closingDefer.resolve(void 0); } }