Commit c311ea8
docs: stop the Ask AI stream when the panel is closed
Closing only hid the panel; useChat stayed mounted and the in-flight stream +
searchDocs work kept consuming quota. Call stop() on close.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a50a8a0 commit c311ea8
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
0 commit comments