Skipping next actions when crashing
This commit is contained in:
parent
ad705fe6f9
commit
a6b9037507
@ -111,6 +111,7 @@ public class ParallelUtils {
|
|||||||
consumer.accept((K) keysCopy[i], (V) valuesCopy[i]);
|
consumer.accept((K) keysCopy[i], (V) valuesCopy[i]);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
firstExceptionReference.compareAndSet(null, new CompletionException(ex));
|
firstExceptionReference.compareAndSet(null, new CompletionException(ex));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user