Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
On Windows, if the app exits from the CameraView page while the view is still loading, the app crashes with an exception:
This can happen if user click the "back" button quickly enough to navigate away from the CameraView when the view is still loading
Expected Behavior
The app should not crash
Steps To Reproduce
- Open and run project from the reproduction repo
- Click the "Open and exit camera page" button. This button simulates opening the camera view page and navigate back by
Navigation.PopAsync() after a certain time delay. Optionally set the time delay for camera page to exit, default is 50ms.
- Observe the bug
Link to public reproduction project repository
https://github.com/zhitaop/MctCameraViewSample
Environment
- .NET MAUI CommunityToolkit.Maui.Camera: v6.0.0
- OS: Windows 11 Enterprise
- .NET MAUI: 10.0.41
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
On Windows, if the app exits from the CameraView page while the view is still loading, the app crashes with an exception:
This can happen if user click the "back" button quickly enough to navigate away from the CameraView when the view is still loading
Expected Behavior
The app should not crash
Steps To Reproduce
Navigation.PopAsync()after a certain time delay. Optionally set the time delay for camera page to exit, default is 50ms.Link to public reproduction project repository
https://github.com/zhitaop/MctCameraViewSample
Environment
Anything else?
No response