Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Attempt capture session close removal
  • Loading branch information
camsim99 committed May 19, 2022
commit 86efe0cec6a56784b12e8f472b566e1474598c84
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,6 @@ public void stopBackgroundThread() {
dartMessenger.error(flutterResult, "cameraAccess", e.getMessage(), null);
}
}

backgroundHandlerThread = null;
backgroundHandler = null;
stoppingBackgroundHandlerThread = false;
Expand Down Expand Up @@ -1174,7 +1173,7 @@ private void closeCaptureSession() {
if (captureSession != null) {
Log.i(TAG, "closeCaptureSession");

captureSession.close();
// captureSession.close();
captureSession = null;
}
}
Expand Down