Skip to content

Commit 51c6e17

Browse files
committed
Remove redundant setting of mCaptureInProgress to false on acquire failure in captureImage()
1 parent 2a14a60 commit 51c6e17

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/libcameracamera.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ void LibCameraWorker::captureImage()
310310

311311
if (mCamera->acquire() < 0) {
312312
emit errorOccurred("libcamera: acquire failed for viewfinder");
313-
mCaptureInProgress = false;
314313
return;
315314
}
316315

0 commit comments

Comments
 (0)