Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/09 18:26:46 (15 years ago)
Author:
svonolfe
Message:

Changed SendJobResult Interface (#351)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs

    r1097 r1103  
    132132      byte[] sJob = engines[jId].GetFinishedJob();
    133133
    134       JobResult jobResult = new JobResult { Job = jobs[jId], Result = sJob, Client = ConfigManager.Instance.GetClientInfo() };
    135       wcfService.SendJobResultAsync(jobResult, true);     
     134      wcfService.SendJobResultAsync(ConfigManager.Instance.GetClientInfo().ClientId,
     135        jId,
     136        sJob,
     137        null,
     138        true);
    136139    }
    137140
     
    181184      if (e.Result.Success) {
    182185        lock (Locker) {
    183           AppDomain.Unload(appDomains[e.Result.Job.Id]);
    184           appDomains.Remove(e.Result.Job.Id);
    185           engines.Remove(e.Result.Job.Id);
    186           jobs.Remove(e.Result.Job.Id);
     186          AppDomain.Unload(appDomains[e.Result.JobId]);
     187          appDomains.Remove(e.Result.JobId);
     188          engines.Remove(e.Result.JobId);
     189          jobs.Remove(e.Result.JobId);
    187190          ClientStatusInfo.JobsProcessed++;
    188191        }
Note: See TracChangeset for help on using the changeset viewer.