This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android): Fix Android Camera1 race condition crash (#2781)
* add synchronized to take pictures callback in case camera was already stopped. This will also prevent a possible null camera object. * use our mCamera variable instead of the one received in the callback so we know if it has been disposed. Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com>
- Loading branch information