protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { GC.SuppressFinalize(this); } _pylonContext?.Dispose(); _pylonContext = null; _disposed = true; }
public void Dispose() { _pylonContext.Dispose(); }