Changeset 6248 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/SlaveJob.cs
- Timestamp:
- 05/23/11 11:26:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/SlaveJob.cs
r6216 r6248 165 165 try { 166 166 JobData sJob = executor.GetFinishedJob(); 167 clientCom.LogMessage(string.Format("Sending the finished job with id: {0}", JobId)); 168 wcfService.UpdateJobData(job, sJob, ConfigManager.Instance.GetClientInfo().Id, JobState.Finished); 167 if (sJob != null) { 168 clientCom.LogMessage(string.Format("Sending the finished job with id: {0}", JobId)); 169 wcfService.UpdateJobData(job, sJob, ConfigManager.Instance.GetClientInfo().Id, JobState.Finished); 170 } 169 171 } 170 172 catch (Exception e) { … … 210 212 if (pluginsPrepared) { 211 213 try { 212 appDomain = HeuristicLab.PluginInfrastructure.Sandboxing.SandboxManager.CreateAndInit Sandbox(job.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));214 appDomain = HeuristicLab.PluginInfrastructure.Sandboxing.SandboxManager.CreateAndInitPrivilegedSandbox(job.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName)); 213 215 appDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomain_UnhandledException); 214 216
Note: See TracChangeset
for help on using the changeset viewer.