Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/13/17 15:53:56 (7 years ago)
Author:
jkarder
Message:

#2258: worked on exception handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Async/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs

    r15065 r15232  
    246246    public async Task StartAsync() { await StartAsync(CancellationToken.None); }
    247247    public async Task StartAsync(CancellationToken cancellationToken) {
    248       await Task.Factory.StartNew((ct) => Start((CancellationToken)ct), cancellationToken, cancellationToken);
     248      await AsyncHelper.DoAsync(Start, cancellationToken);
    249249    }
    250250    public void Pause() {
Note: See TracChangeset for help on using the changeset viewer.