/// <summary> /// Release the unmanaged memory associated with this detector. /// </summary> protected override void DisposeObject() { if (_sharedPtr != IntPtr.Zero) { Features2DInvoke.cveMserRelease(ref _sharedPtr); } base.DisposeObject(); }