Changeset 15367 for trunk/sources/HeuristicLab.Clients.Hive/3.3
- Timestamp:
- 09/18/17 12:18:47 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r15287 r15367 79 79 public override void Prepare() { } 80 80 81 public override void Start() {81 public override async void Start() { 82 82 Item.Prepare(initialOperation); 83 Item.StartAsync();83 await Item.StartAsync(); 84 84 } 85 85 -
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs
r15287 r15367 96 96 } 97 97 98 public override void Start() {98 public override async void Start() { 99 99 if ((Item is Experiment && OptimizerAsExperiment.Optimizers.Count == 0) || // experiment would not fire OnStopped if it has 0 optimizers 100 100 (Item is BatchRun && OptimizerAsBatchRun.Optimizer == null)) { // batchrun would not fire OnStopped if algorithm == null 101 101 OnTaskStopped(); 102 102 } else { 103 Item.StartAsync();103 await Item.StartAsync(); 104 104 } 105 105 }
Note: See TracChangeset
for help on using the changeset viewer.