Skip to content

Commit

Permalink
fix: capture Session 백그라운드 스레드에서 동작하도록 수정 (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siwon-L authored Dec 24, 2024
1 parent 03aec83 commit 297ca14
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class CameraView: UIView {
try configureCameraFocus(backCamera)

// 세션 시작
DispatchQueue.main.async {
DispatchQueue.global().async {
self.captureSession.startRunning()
}
}
Expand Down Expand Up @@ -108,6 +108,3 @@ final class CameraView: UIView {
}
}
}



0 comments on commit 297ca14

Please sign in to comment.