/// <summary> /// Release all the unmanaged memory associated to this object /// </summary> protected override void DisposeObject() { if (_ptr != IntPtr.Zero) { SuperresInvoke.cveSuperResolutionRelease(ref _ptr, ref _sharedPtr); } }
/// <summary> /// Release all the unmanaged memory associated to this object /// </summary> protected override void DisposeObject() { if (_sharedPtr != IntPtr.Zero) { SuperresInvoke.cveSuperResolutionRelease(ref _sharedPtr); _frameSourcePtr = IntPtr.Zero; _ptr = IntPtr.Zero; } }