diff --git a/Sources/Utilities/Camera/Camera.swift b/Sources/Utilities/Camera/Camera.swift index a2d1c50e..c615179c 100644 --- a/Sources/Utilities/Camera/Camera.swift +++ b/Sources/Utilities/Camera/Camera.swift @@ -70,7 +70,7 @@ public extension Camera { } func stopSession() { - sessionQueue.async { + sessionQueue.sync { guard self.session.isRunning else { return } self.session.stopRunning() }