- Timestamp:
- 06/22/12 16:35:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs
r7782 r8090 519 519 public event EventHandler HiveTasksChanged; 520 520 protected virtual void OnHiveTasksChanged() { 521 if (jobResultPoller != null && jobResultPoller.IsPolling) { 522 jobResultPoller.Stop(); 523 DeregisterResultPollingEvents(); 524 } 521 StopResultPolling(); 525 522 if (this.HiveTasks != null && this.HiveTasks.Count > 0 && this.GetAllHiveTasks().All(x => x.Task.Id != Guid.Empty)) { 526 523 if (IsFinished()) { 527 524 this.ExecutionState = Core.ExecutionState.Stopped; 528 525 this.RefreshAutomatically = false; 529 } 530 531 if (this.RefreshAutomatically) { 532 StartResultPolling(); 526 if (jobResultPoller != null) DeregisterResultPollingEvents(); 527 } else { 528 this.RefreshAutomatically = true; 533 529 } 534 530 }
Note: See TracChangeset
for help on using the changeset viewer.