Commit 81265d0
committed
🤖 fix: interrupt stream when workspace is deleted
When a workspace is deleted while an agent is streaming, stop the stream
during AgentSession.dispose() to prevent it from continuing in the background.
Uses fire-and-forget semantics since disposal shouldn't block, and abandons
the partial since the workspace is being deleted anyway.1 parent 372f0d9 commit 81265d0
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
0 commit comments