Changeset 7166
- Timestamp:
- 12/10/11 17:44:18 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Core.cs
r6998 r7166 98 98 } 99 99 ShutdownCore(); 100 } 101 finally { 100 } finally { 102 101 DeregisterServiceEvents(); 103 102 waitShutdownSem.Release(); … … 334 333 if (task == null) throw new TaskNotFoundException(e.Value.TaskId); 335 334 task.ExecutionTime = e.Value.ExecutionTime; 336 TaskData taskData = e.Value .GetTaskData();335 TaskData taskData = e.Value2; 337 336 wcfService.UpdateTaskData(task, taskData, configManager.GetClientInfo().Id, TaskState.Paused); 338 337 } … … 352 351 if (task == null) throw new TaskNotFoundException(e.Value.TaskId); 353 352 task.ExecutionTime = e.Value.ExecutionTime; 354 TaskData taskData = e.Value .GetTaskData();353 TaskData taskData = e.Value2; 355 354 wcfService.UpdateTaskData(task, taskData, configManager.GetClientInfo().Id, TaskState.Finished); 356 355 } -
trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Executor.cs
r7164 r7166 188 188 if (taskDataInvalid) return null; 189 189 190 if (task .ExecutionState == ExecutionState.Started) {190 if (task != null && task.ExecutionState == ExecutionState.Started) { 191 191 throw new InvalidStateException("Task is still running"); 192 192 } else { -
trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/HeartbeatManager.cs
r6983 r7166 82 82 private void RunHeartBeatThread() { 83 83 while (!threadStopped) { 84 SlaveClientCom.Instance.ClientCom.StatusChanged(ConfigManager.Instance.GetStatusForClientConsole()); 84 try { 85 SlaveClientCom.Instance.ClientCom.StatusChanged(ConfigManager.Instance.GetStatusForClientConsole()); 86 } 87 catch (Exception ex) { 88 EventLogManager.LogMessage("Couldn't sent status information to client ui. Exception is: " + Environment.NewLine + ex.ToString()); 89 } 85 90 86 91 try {
Note: See TracChangeset
for help on using the changeset viewer.