Ignore:
Timestamp:
01/18/13 10:26:25 (9 years ago)
Author:
ascheibe
Message:

#2005

  • fixed naming of event handlers that were forgotten when the naming from experiment to job was changed
  • fixed some more memory leaks
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UnloadJobs/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs

    r9169 r9173  
    5555      Content.Refreshed += new EventHandler(Content_Refreshed);
    5656      Content.HiveJobsChanged += new EventHandler(Content_HiveJobsChanged);
    57 
    5857    }
    5958
     
    131130          Content.Jobs.ItemsRemoved -= new CollectionItemsChangedEventHandler<RefreshableJob>(HiveExperiments_ItemsRemoved);
    132131          Content.ClearHiveClient();
     132          Content = null;
    133133        }
    134134      }
     
    143143    private void Content_HiveJobsChanged(object sender, EventArgs e) {
    144144      if (Content.Jobs != null) {
     145        Content.Jobs.ItemsRemoved -= new CollectionItemsChangedEventHandler<RefreshableJob>(HiveExperiments_ItemsRemoved);
    145146        Content.Jobs.ItemsRemoved += new CollectionItemsChangedEventHandler<RefreshableJob>(HiveExperiments_ItemsRemoved);
    146147      }
Note: See TracChangeset for help on using the changeset viewer.