Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/28/17 08:04:05 (7 years ago)
Author:
jkarder
Message:

#2830: merged r15367 into stable

Location:
stable
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Common/3.3/AsyncHelper.cs

    r15292 r15384  
    2121
    2222using System;
    23 using System.Linq;
    2423using System.Runtime.ExceptionServices;
    2524using System.Threading;
     
    3837      } catch (OperationCanceledException) {
    3938      } catch (AggregateException ae) {
    40         var e = ae.InnerExceptions.SingleOrDefault() ?? ae;
    41         ExceptionDispatchInfo.Capture(e).Throw();
     39        ae.FlattenAndHandle(new[] { typeof(OperationCanceledException) }, e => ExceptionDispatchInfo.Capture(e).Throw());
    4240      }
    4341    }
  • stable/HeuristicLab.Common/3.3/HeuristicLab.Common-3.3.csproj

    r15292 r15384  
    132132    <Compile Include="Constants.cs" />
    133133    <Compile Include="ArrayExtensions.cs" />
     134    <Compile Include="ExceptionExtensions.cs" />
    134135    <Compile Include="Statistics\EmpiricalCumulativeDistributionFunction.cs" />
    135136    <Compile Include="ListExtensions.cs" />
Note: See TracChangeset for help on using the changeset viewer.