예제 #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            if (disposing)
            {
                GC.SuppressFinalize(this);
            }

            _pylonContext?.Dispose();
            _pylonContext = null;
            _disposed     = true;
        }
예제 #2
0
 public void Dispose()
 {
     _pylonContext.Dispose();
 }