ZIm/crates/agent_servers
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
..
src Fix ACP connection and thread leak (#35670) 2025-08-05 19:10:51 -03:00
Cargo.toml Update to new agent schema (#35578) 2025-08-04 13:49:41 +00:00
LICENSE-GPL ACP (#34030) 2025-07-09 16:02:31 +00:00