@@ -460,9 +460,12 @@ public class ActionQueue {
try {
- for ( E e : list ) {
+ int lastIndexProcessed = 0;
+ while ( lastIndexProcessed < list.size() ) {
+ E e = list.get(lastIndexProcessed);
try {
e.execute();
+ lastIndexProcessed = lastIndexProcessed + 1;
}
finally {
beforeTransactionProcesses.register( e.getBeforeTransactionCompletionProcess() );