mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
9fa2e18704
* fix(vscode): capture stable request ID before QuestionDock disposal QuestionDock is mounted through a non-keyed callback-form Solid <Show> in AssistantMessage. When a question is answered, the <Show> condition becomes false and Solid disposes the component. The onCleanup handler re-read props.request.id, which calls the already-disposed <Show> narrowing accessor, throwing 'Stale read from <Show>'. The uncaught exception left the webview unresponsive after every question submission. Capture the request ID at component setup while the accessor is still valid, and use the stable value in both the effect and the cleanup. * test(vscode): exercise question submission teardown