Skip to content

Commit

Permalink
[JBPM-10245] Explicitly mark actual transaction as non active
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado committed Jan 7, 2025
1 parent 47da21b commit cd8d9da
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ public void rollback(boolean transactionOwner) {
}

private void cleanupTransaction() {
currentTransaction = null;
if (TransactionSynchronizationManager.hasResource(KieSpringTransactionManager.RESOURCE_CONTAINER)) {
TransactionSynchronizationManager.unbindResource(KieSpringTransactionManager.RESOURCE_CONTAINER);
}
TransactionSynchronizationManager.setActualTransactionActive(false);
currentTransaction = null;
}

/**
Expand Down

0 comments on commit cd8d9da

Please sign in to comment.