Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving code away from the main thread #46

Closed
wants to merge 5 commits into from
Closed

Moving code away from the main thread #46

wants to merge 5 commits into from

Conversation

BellAppLab
Copy link

FastttCamera now calls beginBackgroundTaskWithExpirationHandler upon initialising and calls endBackgroundTask upon tearing down.

The camera also enqueues blocks on its own serial NSOperationQueue rather than relying on the system's global queue (see #5).

Bell App Lab added 5 commits November 20, 2015 12:26
…nly to avoid calling `[_session startRunning]` on the main thread.
…ed AVCaptureSession error and interruption notifications. Added a delegate method to handle interruptions. Now the camera waits for the last focus, exposure and white balance operations to finish before snapping a picture.
@HePingLaoSan
Copy link

Should not lazy initialize serial queue, because it may cause data race

@kevinebaugh kevinebaugh deleted the branch IFTTT:master October 11, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants