Skip to content

Commit 1937ff3

Browse files
Update Recap/Services/MeetingDetection/Core/MeetingDetectionService.swift
Co-authored-by: Copilot <[email protected]>
1 parent 3995591 commit 1937ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Recap/Services/MeetingDetection/Core/MeetingDetectionService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ final class MeetingDetectionService: MeetingDetectionServiceType {
5555
monitoringTask?.cancel()
5656
monitoringTask = Task {
5757
while !Task.isCancelled {
58+
if Task.isCancelled { break }
5859
await checkForMeetings()
5960
try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
6061
}

0 commit comments

Comments
 (0)