in src/NodeSqlite3DbProvider.ts [104:121]
private _setTimer(): void {
this._clearTimer();
this._openTimer = setTimeout(() => {
this._openTimer = undefined;
if (!this._transToken.exclusive) {
this.internal_markTransactionClosed();
this._lockHelper.transactionComplete(this._transToken);
return;
}
this.runQuery('COMMIT TRANSACTION').then(() => {
this._clearTimer();
this.internal_markTransactionClosed();
this._lockHelper.transactionComplete(this._transToken);
});
}, 0) as any as number;
}