/// <summary> /// /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { if (!disposed) { try { if (disposing) { } if (ptr != IntPtr.Zero) { NativeMethods.core_OutputArray_delete(ptr); ptr = IntPtr.Zero; } disposed = true; } finally { base.Dispose(disposing); } } }
/// <summary> /// Releases unmanaged resources /// </summary> protected override void DisposeUnmanaged() { NativeMethods.HandleException( NativeMethods.core_OutputArray_delete(ptr)); base.DisposeUnmanaged(); }