The problem is even after release() is done, the singleton variable is not cleared, so a new openCameraHardware() call could return an instance which is already released. The singleton variable is cleared in the destructor, so we wait until that happens in openCameraHardware().
Description
No description provided
Languages
C++
90.2%
Objective-C
4.6%
C
2.8%
Makefile
2.4%