mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* fix: eliminate UI flicker during task cancellation - Modify ClineProvider.createTaskWithHistoryItem() to detect when rehydrating current task - Implement in-place task replacement to avoid empty stack state that causes UI flicker - Add comprehensive unit tests for flicker-free cancel behavior - Maintain backward compatibility and proper event listener cleanup Fixes the jarring navigation to home view when cancelling tasks * fix: ensure proper garbage collection of old task during flicker-free rehydration - Call abortTask(true) on old task before replacement to stop processes and mark as abandoned - This ensures proper cleanup and prevents memory leaks during task cancellation - Add test verification for abortTask cleanup |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| checkpointRestoreHandler.ts | ||
| ClineProvider.ts | ||
| generateSystemPrompt.ts | ||
| getNonce.ts | ||
| getUri.ts | ||
| messageEnhancer.ts | ||
| webviewMessageHandler.ts | ||