Skip to content

fix: guard switchCameras against null innerController#324

Merged
AlexV525 merged 3 commits into
mainfrom
copilot/fix-camera-switching-error
May 14, 2026
Merged

fix: guard switchCameras against null innerController#324
AlexV525 merged 3 commits into
mainfrom
copilot/fix-camera-switching-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

  • Add null check for innerController at the start of switchCameras() to prevent crash when controller is not yet initialized
  • Add changelog entry to the unreleased section

Copilot AI changed the title [WIP] Fix null error when switching cameras fix: guard switchCameras against null innerController May 14, 2026
Copilot AI requested a review from AlexV525 May 14, 2026 04:45
@AlexV525 AlexV525 marked this pull request as ready for review May 14, 2026 11:56
@AlexV525
Copy link
Copy Markdown
Member

@copilot add changelog entry to the unreleased section

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot add changelog entry to the unreleased section

Done in 1f4413d.

@AlexV525 AlexV525 merged commit 0bc209d into main May 14, 2026
5 checks passed
@AlexV525 AlexV525 deleted the copilot/fix-camera-switching-error branch May 14, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 某些场景下切换前后镜头会导致空错误

2 participants