Skipping next actions when crashing

This commit is contained in:
Andrea Cavalli 2020-08-26 16:30:03 +02:00
parent ad705fe6f9
commit a6b9037507
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ public class ParallelUtils {
consumer.accept((K) keysCopy[i], (V) valuesCopy[i]);
} catch (Exception ex) {
firstExceptionReference.compareAndSet(null, new CompletionException(ex));
break;
}
}
});