override public void Destroy() { for (int i = 0; i < m_list.Length; i++) { m_list[i].Destroy(); } m_list = null; m_focusOnMasterNodeButton.Destroy(); m_focusOnMasterNodeButton = null; m_focusOnSelectionButton.Destroy(); m_focusOnSelectionButton = null; }
override public void Destroy() { base.Destroy(); //for ( int i = 0; i < m_list.Length; i++ ) //{ // m_list[ i ].Destroy(); //} //m_list = null; m_searchResultNodes.Clear(); m_searchResultNodes = null; m_updateButton.Destroy(); m_updateButton = null; m_liveButton.Destroy(); m_liveButton = null; m_openSourceCodeButton.Destroy(); m_openSourceCodeButton = null; m_focusOnMasterNodeButton.Destroy(); m_focusOnMasterNodeButton = null; m_focusOnSelectionButton.Destroy(); m_focusOnSelectionButton = null; m_showInfoWindowButton.Destroy(); m_showInfoWindowButton = null; m_takeScreenshotButton.Destroy(); m_takeScreenshotButton = null; m_shareButton.Destroy(); m_shareButton = null; m_showTipsWindowButton.Destroy(); m_showTipsWindowButton = null; m_cleanUnusedNodesButton.Destroy(); m_cleanUnusedNodesButton = null; m_showConsoleWindowButton.Destroy(); m_showConsoleWindowButton = null; }
override public void Destroy() { base.Destroy(); for (int i = 0; i < m_list.Length; i++) { m_list[i].Destroy(); } m_list = null; m_searchResultNodes.Clear(); m_searchResultNodes = null; m_focusOnMasterNodeButton.Destroy(); m_focusOnMasterNodeButton = null; m_focusOnSelectionButton.Destroy(); m_focusOnSelectionButton = null; m_showInfoWindowButton.Destroy(); m_showInfoWindowButton = null; }