diff --git a/mac/Sources/Byre/Changes.swift b/mac/Sources/Byre/Changes.swift index 735cf89..5ba575f 100644 --- a/mac/Sources/Byre/Changes.swift +++ b/mac/Sources/Byre/Changes.swift @@ -138,11 +138,6 @@ final class ChangesModel { } } - func stop() { - target += 1 - timer?.cancel() - } - func transcript(_ fresh: [ByreEvent]) { if pinned != nil { return @@ -234,7 +229,6 @@ struct ChangesView: View { } await untilCancelled() off?() - m.stop() } .onChange(of: store.pinned) { model?.retarget() diff --git a/mac/Sources/Byre/Files.swift b/mac/Sources/Byre/Files.swift index 40793ee..6d7b7a7 100644 --- a/mac/Sources/Byre/Files.swift +++ b/mac/Sources/Byre/Files.swift @@ -113,11 +113,6 @@ private final class FilesModel { } } - func stop() { - target += 1 - timer?.cancel() - } - func load() async { guard let taskId = store.selectedTaskId else { return @@ -206,7 +201,6 @@ struct FilesView: View { } await untilCancelled() off?() - m.stop() } } } diff --git a/mac/Sources/Byre/Workflow.swift b/mac/Sources/Byre/Workflow.swift index d96ead4..e6e96cc 100644 --- a/mac/Sources/Byre/Workflow.swift +++ b/mac/Sources/Byre/Workflow.swift @@ -136,7 +136,6 @@ struct WorkflowView: View { } await untilCancelled() off() - target += 1 } .onChange(of: task?.workflow) { if run == nil && !loading && error.isEmpty {