mirror of
https://github.com/opencv/opencv.git
synced 2026-10-05 04:03:32 +03:00
Merge pull request #846 from smart-mobile-software:tuto_crash
This commit is contained in:
commit
2faa2adae2
2 files changed
+32
-24
No files matched your search
@@ -208,6 +208,8 @@ public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallb
|
||||
synchronized (this) {
|
||||
if (mCamera != null) {
|
||||
mCamera.stopPreview();
|
||||
mCamera.setPreviewCallback(null);
|
||||
|
||||
mCamera.release();
|
||||
}
|
||||
mCamera = null;
|
||||
|
||||
Reference in new issue
Block a user