Example #1
0
        /// <summary>
        ///     Releases managed and native resources
        /// </summary>
        /// <param name="disposing"></param>
        private void dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }
#if USE_LOCKING
            lock (apt)
#endif
            {
                apt?.Dispose();
            }
        }
 public void TearDown()
 {
     m_potSource.Reset();
     m_pot.Dispose();
     m_analogIo.Teardown();
 }