Changeset 412 for trunk/sources/HeuristicLab.Grid/ClientForm.cs
- Timestamp:
- 07/31/08 00:15:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Grid/ClientForm.cs
r402 r412 151 151 152 152 void currentEngine_Finished(object sender, EventArgs e) { 153 IEngine engine = (IEngine)sender; 153 ProcessingEngine engine = (ProcessingEngine)sender; 154 155 // if the engine was stopped because of an error it's not necessary to return the whole engine 156 // instead just return an empty engine that has the aborted flag set 157 if(engine.Canceled) { 158 engine.Reset(); 159 engine.OperatorGraph.Clear(); 160 engine.Abort(); 161 } 162 154 163 byte[] resultXml = SaveEngine(engine); 155 164 bool success = false;
Note: See TracChangeset
for help on using the changeset viewer.