Describe the bug
App crashes when plugin stop is called
The crash report + a fix proposed by AI are included with this pull request:
pull request with crash report
To Reproduce
Steps to reproduce the behavior:
- Start camera preview
- Stop camera preview
Expected behavior
Camera preview stop should never cause the app to crash
Smartphone (please complete the following information):
- Device: iPhone13,1
- OS: iPhone OS 18.3.1