Example #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                // disposing managed resouces
            }

            if (this.busHandle != 0)
            {
                I2CNativeLib.Close(this.busHandle);
                this.busHandle = 0;
            }
        }