Ejemplo n.º 1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                // dispose of the unmanaged resources
                if (this.ics != IntPtr.Zero)
                {
                    // If there is history write that.
                    //this.WriteHistory(this.ics);

                    // Dispose of the unmanaged resources
                    FreeImageIcsNativeMethods.IcsClose(this.ics);
                }

                this.disposed = true;
            }
        }