Fix cancellation handling in Parallel.For
This change ensures that cancellation exceptions that get wrapped in an AggregateException are treated as cancellation instead of failure.
Showing
想要评论请 注册 或 登录
This change ensures that cancellation exceptions that get wrapped in an AggregateException are treated as cancellation instead of failure.