You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[camerax] Change unawaited usages to await for calls to stop asynchronous camera operations #132499
Currently, the camera_android_camerax implementation uses unawaited to not wait for calls to stop using certain UseCases and disposing of the camera. This may introduce race conditions as discussed in #115925 (comment).
The unawaited usages should be revisited and only used when there is no way to ensure asynchronous completion on the native side.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
camsim99 commentedon Aug 15, 2023
Here is an example of a place to reconsider using
unawaited: flutter/packages#3586 (comment)[camerax] Small fixes to starting/stopping video capture (#6068)
github-actions commentedon Feb 29, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[camerax] Small fixes to starting/stopping video capture (flutter#6068)
[camerax] Small fixes to starting/stopping video capture (flutter#6068)