コード例 #1
0
        // Protected implementation of Dispose pattern.
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                if (lslStream != null)
                {
                    lslStream.Dispose(); // Destory lsl native stream outlet.
                }
            }

            // Free any unmanaged objects here.
            //

            disposed = true;
        }