[L2] Dead null-check in getDefaultGPUDevice #28
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
indigocode/igasset-viewer-react#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File:
packages/viewer-react/src/IgviewerContext.tsx:37-40GPUAdapter.requestDevice()rejects on failure rather than resolvingnull, so theif (!device)branch is unreachable. Minor cleanup.Filed by an automated AI code review (manual proof-of-concept run). Code locations reference the
various-cleanupbranch.