/// <summary> /// Cleans up (if there is anything to clean) /// </summary> internal protected virtual void Cleanup() { m_cast = null; if (m_targets != null) { m_targets.Dispose(); m_targets = null; } }
/// <summary>Cleans up (if there is anything to clean)</summary> protected internal virtual void Cleanup() { m_cast = null; if (m_targets == null) { return; } m_targets.Dispose(); m_targets = null; }