Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/13 09:05:57 (11 years ago)
Author:
ascheibe
Message:

#2005 fixed memory leaks in GraphVisualization and Docking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UnloadJobs/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.cs

    r8587 r9174  
    298298    }
    299299    #endregion
     300
     301    /// <summary>
     302    /// Clean up any resources being used. (copied from Designer.cs file)
     303    /// </summary>
     304    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
     305    protected override void Dispose(bool disposing) {
     306      if (disposing) {
     307        if (components != null) components.Dispose();
     308        ActiveView = null;
     309        cachedView = null;
     310        viewContextMenuStrip.ItemClicked -= new System.Windows.Forms.ToolStripItemClickedEventHandler(this.viewContextMenuStrip_ItemClicked);
     311        viewContextMenuStrip.Dispose();
     312      }
     313      base.Dispose(disposing);
     314    }
    300315  }
    301316}
Note: See TracChangeset for help on using the changeset viewer.