Changeset 15367 for trunk/sources/HeuristicLab.Core/3.3
- Timestamp:
- 09/18/17 12:18:47 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Engine.cs
r15287 r15367 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 24 using System.Threading; 26 25 using HeuristicLab.Common; … … 91 90 } catch (OperationCanceledException) { 92 91 } catch (AggregateException ae) { 93 OnExceptionOccurred(ae.InnerExceptions.SingleOrDefault() ?? ae);92 ae.FlattenAndHandle(new[] { typeof(OperationCanceledException) }, e => OnExceptionOccurred(e)); 94 93 } catch (Exception e) { 95 94 OnExceptionOccurred(e);
Note: See TracChangeset
for help on using the changeset viewer.