/// <summary> /// Release the memory associated with this Hausdorff distance extractor /// </summary> protected override void DisposeObject() { if (_sharedPtr != IntPtr.Zero) { ShapeInvoke.cveHausdorffDistanceExtractorRelease(ref _sharedPtr); _ptr = IntPtr.Zero; } base.DisposeObject(); }