Free cookie consent management tool by TermsFeed Policy Generator

Changeset 7747


Ignore:
Timestamp:
04/23/12 14:04:38 (13 years ago)
Author:
sforsten
Message:

#1818: The Garbage Collector isn't called anymore in the Dispose method of the ColumnGroupView

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/View/ColumnGroupView.Designer.cs

    r7267 r7747  
    3333    protected override void Dispose(bool disposing) {
    3434      if (disposing) {
    35         if( (components != null))
     35        if ((components != null))
    3636          components.Dispose();
    3737
    3838        ColumnGroup.Changed -= ColumnGroupChanged;
    3939        StateChanged = null;
    40         Activated = null;               
     40        Activated = null;
    4141
    4242        dataGridView.ColumnHeaderMouseClick -= dataGridView_ColumnHeaderMouseClick;
     
    4444        dataGridView.MouseClick -= dataGridView_MouseClick;
    4545        dataGridView.SelectionChanged -= dataGridView_SelectionChanged;
    46         dataGridView.AllowUserToOrderColumnsChanged -= dataGridView_AllowUserToOrderColumnsChanged;       
     46        dataGridView.AllowUserToOrderColumnsChanged -= dataGridView_AllowUserToOrderColumnsChanged;
    4747        dataGridView.KeyDown -= dataGridView_KeyDown;
    4848
     
    5555      }
    5656      base.Dispose(disposing);
    57       System.GC.Collect();
    5857    }
    5958
Note: See TracChangeset for help on using the changeset viewer.