Changeset 17445 for trunk/HeuristicLab.Clients.Hive/3.3/Tasks
- Timestamp:
- 02/19/20 13:50:24 (5 years ago)
- Location:
- trunk/HeuristicLab.Clients.Hive/3.3/Tasks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r17180 r17445 80 80 81 81 public override async void Start() { 82 Item.Prepare(initialOperation); 83 await Item.StartAsync(); 82 try { 83 Item.Prepare(initialOperation); 84 await Item.StartAsync(); 85 } catch (Exception e) { 86 engine_ExceptionOccurred(Item, new EventArgs<Exception>(e)); 87 } 84 88 } 85 89 -
trunk/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs
r17180 r17445 101 101 OnTaskStopped(); 102 102 } else { 103 await Item.StartAsync(); 103 try { 104 await Item.StartAsync(); 105 } catch (Exception e) { 106 optimizer_ExceptionOccurred(Item, new EventArgs<Exception>(e)); 107 } 104 108 } 105 109 }
Note: See TracChangeset
for help on using the changeset viewer.