Commit d37a00c
Fix: disposed ChatThinkingContentPart returned by getLastThinkingPart causing DisposableStore error (#296927)
* Initial plan
* fix: set isActive=false on ChatThinkingContentPart dispose to prevent DisposableStore error
Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>1 parent e492669 commit d37a00c
2 files changed
Lines changed: 20 additions & 0 deletions
File tree
- src/vs/workbench/contrib/chat
- browser/widget/chatContentParts
- test/browser/widget/chatContentParts
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1526 | 1526 | | |
1527 | 1527 | | |
1528 | 1528 | | |
| 1529 | + | |
1529 | 1530 | | |
1530 | 1531 | | |
1531 | 1532 | | |
| |||
src/vs/workbench/contrib/chat/test/browser/widget/chatContentParts/chatThinkingContentPart.test.ts
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
986 | 1005 | | |
987 | 1006 | | |
988 | 1007 | | |
| |||
0 commit comments