- Timestamp:
- 09/18/17 12:18:47 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.