コード例 #1
0
ファイル: HDevProcedure.cs プロジェクト: zshankang/OpenHalcon
 /// <summary>Releases the resources used by this engine</summary>
 public virtual void Dispose()
 {
     if (this.procedure != IntPtr.Zero)
     {
         EngineAPI.DestroyProcedure(this.procedure);
         this.procedure = IntPtr.Zero;
         this.loaded    = false;
     }
     GC.SuppressFinalize((object)this);
     GC.KeepAlive((object)this);
 }