SIL.FieldWorks.LexText.Controls.MasterCategoryListDlg.Dispose C# (CSharp) Method

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void
		protected override void Dispose( bool disposing )
		{
			Debug.WriteLineIf(!disposing, "****************** Missing Dispose() call for " + GetType().Name + ". ******************");
			// Must not be run more than once.
			if (IsDisposed)
				return;

			if (disposing)
			{
				if(components != null)
				{
					components.Dispose();
				}
				if (m_nodes != null)
					m_nodes.Clear();
			}
			m_posList = null;
			m_mediator = null;
			m_cache = null;
			m_selPOS = null;
			m_nodes = null;

			base.Dispose( disposing );
		}