diff --git a/Views/LiveActivity/ActivityService.swift b/Views/LiveActivity/ActivityService.swift index 2ac344a3..e3380947 100644 --- a/Views/LiveActivity/ActivityService.swift +++ b/Views/LiveActivity/ActivityService.swift @@ -135,6 +135,10 @@ final class ActivityService { activity = nil isStarted = false downloadTimes = [:] + // make sure we clean up orphan activities of the same type as well + for activity in Activity.activities { + await activity.end(nil, dismissalPolicy: .immediate) + } } }