fix: Return after configure error
This commit is contained in:
parent
1a0bd8f7c2
commit
14daaaaf9d
@ -109,6 +109,7 @@ class CameraSession: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate, AVC
|
||||
try lambda(config)
|
||||
} catch {
|
||||
self.onConfigureError(error)
|
||||
return
|
||||
}
|
||||
let difference = CameraConfiguration.Difference(between: self.configuration, and: config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user