From 2b34bf08dab3be99ff2f88ded027ffaa8a7c3a90 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 2 Jan 2026 18:02:24 +0100 Subject: [PATCH] fix: resolve mac camera continuation isolation --- apps/macos/Sources/Clawdis/CameraCaptureService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/macos/Sources/Clawdis/CameraCaptureService.swift b/apps/macos/Sources/Clawdis/CameraCaptureService.swift index cf2d133d5..d82f83731 100644 --- a/apps/macos/Sources/Clawdis/CameraCaptureService.swift +++ b/apps/macos/Sources/Clawdis/CameraCaptureService.swift @@ -73,7 +73,7 @@ actor CameraCaptureService { settings.photoQualityPrioritization = .quality var delegate: PhotoCaptureDelegate? - let rawData: Data = try await withCheckedThrowingContinuation(isolation: nil) { cont in + let rawData: Data = try await withCheckedThrowingContinuation { cont in let d = PhotoCaptureDelegate(cont) delegate = d output.capturePhoto(with: settings, delegate: d) @@ -156,7 +156,7 @@ actor CameraCaptureService { let logger = self.logger var delegate: MovieFileDelegate? - let recordedURL: URL = try await withCheckedThrowingContinuation(isolation: nil) { cont in + let recordedURL: URL = try await withCheckedThrowingContinuation { cont in let d = MovieFileDelegate(cont, logger: logger) delegate = d output.startRecording(to: tmpMovURL, recordingDelegate: d)