Chih-Chung Chang bb05604b8d Fix 1956740: startPreview failed
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().
2009-07-13 19:50:11 +08:00
..