Keep stale tab cleanup from discarding fresh Files/Changes loads

This commit is contained in:
Ian Gulliver
2026-10-21 21:19:20 -07:00
parent e6da67087e
commit d6e1895591
3 changed files with 0 additions and 13 deletions
-6
View File
@@ -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()
-6
View File
@@ -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()
}
}
}
-1
View File
@@ -136,7 +136,6 @@ struct WorkflowView: View {
}
await untilCancelled()
off()
target += 1
}
.onChange(of: task?.workflow) {
if run == nil && !loading && error.isEmpty {