ZIm/crates/agent_servers/src
Agus Zubiaga b7469f5bc3
Fix ACP connection and thread leak (#35670)
When you switched away from an ACP thread, the `AcpThreadView` entity
(and thus thread, and subprocess) was leaked. This happened because we
were using `cx.processor` for the `list` state callback, which uses a
strong reference.

This PR changes the callback so that it holds a weak reference, and adds
some tests and assertions at various levels to make sure we don't
reintroduce the leak in the future.

Release Notes:

- N/A
2025-08-05 19:10:51 -03:00
..
acp Fix ACP connection and thread leak (#35670) 2025-08-05 19:10:51 -03:00
claude Update to acp 0.0.18 (#35595) 2025-08-04 18:45:17 +00:00
acp.rs Update to new agent schema (#35578) 2025-08-04 13:49:41 +00:00
agent_servers.rs Update to new agent schema (#35578) 2025-08-04 13:49:41 +00:00
claude.rs Fix ACP connection and thread leak (#35670) 2025-08-05 19:10:51 -03:00
e2e_tests.rs Fix ACP connection and thread leak (#35670) 2025-08-05 19:10:51 -03:00
gemini.rs Handle startup failure for gemini-cli (#35624) 2025-08-05 16:29:19 -04:00
settings.rs Update to new agent schema (#35578) 2025-08-04 13:49:41 +00:00