예제 #1
0
파일: Context.cs 프로젝트: zhc341272/emgucv
 /// <summary>
 /// Release all the unmanaged memory associated with this OclContext
 /// </summary>
 protected override void DisposeObject()
 {
     if (_needDispose)
     {
         if (_ptr != IntPtr.Zero)
         {
             OclInvoke.oclContextRelease(ref _ptr);
         }
     }
 }