autoCommitDone method
Implementation
void autoCommitDone(TxnContextV2 ctx) {
// Only abort if still active — idempotent (won't throw if already committed)
if (ctx.isActive) abort(ctx);
}
void autoCommitDone(TxnContextV2 ctx) {
// Only abort if still active — idempotent (won't throw if already committed)
if (ctx.isActive) abort(ctx);
}