/// <summary> /// Disposes of object resources. /// </summary> protected virtual void Destroy() { // Untrack this object if (ComponentTracker.Enable) { ComponentTracker.UnTrack(this); } collector.Dispose(); }
/// <summary> /// Disposes of object resources. /// </summary> protected override void Destroy() { // Untrack this object if (ComponentTracker.Enable) { ComponentTracker.UnTrack(this); } base.Destroy(); }