Ejemplo n.º 1
0
 /// <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);
 }