don't restart after interrupt

This commit is contained in:
Ian Gulliver
2026-10-19 14:08:56 -07:00
parent 598ee788f8
commit b634d42dcf
6 changed files with 25 additions and 6 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ func (m *Manager) deliverTeam(ctx context.Context, l *live) {
return
}
for _, s := range teamSessions(sessions) {
if s.Id == l.id || s.State != api.AgentSessionStateIdle {
if s.Id == l.id || s.State != api.AgentSessionStateIdle || m.interrupted(s.Id) {
continue
}
err = m.Deliver(ctx, s.Id)