Commit 887a044
Fix null dereference on error in iOS CameraDevice (#1649)
The \�rror\ variable passed to \
ewRenderPipelineStateWithDescriptor\ may be nil even when the call
fails. This guards against dereferencing nil when building the error
message string.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1f57a2e commit 887a044
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
0 commit comments