Merge branch 'master' into fix/cameraCropOutput-reduced-memory-consumption

pull/93/head
Roberto Morelos 8 years ago committed by GitHub
commit c2b88c1611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cameraview/src/main/java/com/otaliastudios/cameraview/CameraController.java

@ -144,6 +144,8 @@ abstract class CameraController implements CameraPreview.SurfaceCallback {
// Don't check, try stop again.
LOG.i("Stop immediately. State was:", ss());
mState = STATE_STOPPING;
// Prevent leaking CameraController.
mHandler.getThread().setUncaughtExceptionHandler(null);
onStop();
mState = STATE_STOPPED;
LOG.i("Stop immediately. Stopped. State is:", ss());

Loading…
Cancel
Save