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

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs

    r15292 r15384  
    7979    public override void Prepare() { }
    8080
    81     public override void Start() {
     81    public override async void Start() {
    8282      Item.Prepare(initialOperation);
    83       Item.StartAsync();
     83      await Item.StartAsync();
    8484    }
    8585
  • stable/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs

    r15292 r15384  
    9696    }
    9797
    98     public override void Start() {
     98    public override async void Start() {
    9999      if ((Item is Experiment && OptimizerAsExperiment.Optimizers.Count == 0) || // experiment would not fire OnStopped if it has 0 optimizers
    100100          (Item is BatchRun && OptimizerAsBatchRun.Optimizer == null)) { // batchrun would not fire OnStopped if algorithm == null
    101101        OnTaskStopped();
    102102      } else {
    103         Item.StartAsync();
     103        await Item.StartAsync();
    104104      }
    105105    }
Note: See TracChangeset for help on using the changeset viewer.