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
..
2025-08-04 18:45:17 +00:00
2025-08-05 21:47:17 +00:00
2025-08-05 19:10:51 -03:00
2025-08-05 21:47:17 +00:00
2025-08-05 19:10:51 -03:00
2025-08-05 19:48:15 +00:00
2025-08-05 18:16:47 +00:00
2025-08-05 21:47:17 +00:00
2025-08-05 06:02:42 +05:30
2025-08-04 13:56:56 +00:00
2025-07-29 13:24:34 -07:00
2025-08-05 18:16:47 +00:00
2025-08-05 00:37:22 +00:00
2025-08-05 10:07:30 -07:00
2025-08-04 08:41:23 +00:00
2025-08-01 02:50:38 +00:00
2025-08-04 14:18:06 -06:00
2025-08-05 22:07:18 +00:00
2025-08-04 11:58:31 -03:00
2025-08-04 13:49:41 +00:00
2025-08-05 00:37:22 +00:00
2025-08-04 18:19:42 -07:00
2025-07-31 19:45:02 -04:00
2025-08-05 19:09:42 +02:00
2025-08-05 23:46:57 +03:00
2025-08-04 16:22:18 +00:00
2025-07-31 01:34:26 +00:00
2025-08-04 16:22:18 +00:00
2025-08-05 09:35:52 -04:00
2025-08-05 13:36:05 +00:00
2025-08-01 21:08:09 +00:00
2025-08-04 07:12:02 +00:00
2025-08-05 23:46:57 +03:00
2025-07-23 18:01:16 +00:00
2025-07-29 17:58:28 +02:00
2025-08-04 18:08:00 +00:00
2025-08-04 18:08:00 +00:00
2025-07-24 18:25:21 -04:00
2025-08-04 18:20:20 -04:00
2025-08-05 19:48:15 +00:00
2025-08-04 18:19:42 -07:00
2025-08-04 11:58:31 -03:00
2025-08-05 23:46:57 +03:00
2025-08-04 07:12:02 +00:00
2025-08-01 17:37:38 +00:00
2025-08-05 13:05:05 +00:00
2025-08-05 23:46:57 +03:00
2025-08-04 16:22:18 +00:00
2025-08-05 23:46:57 +03:00
2025-08-05 16:36:08 +02:00
2025-07-25 09:36:43 -04:00
2025-07-30 10:29:03 +00:00
2025-08-04 16:22:18 +00:00
2025-07-23 23:13:49 -04:00
2025-08-05 00:37:22 +00:00
2025-08-05 00:37:22 +00:00
2025-07-24 00:17:54 -04:00
2025-08-05 19:48:15 +00:00
2025-08-02 05:05:03 +00:00
2025-07-29 15:31:54 +00:00
2025-08-05 11:38:08 -03:00
2025-07-24 15:24:53 +00:00
2025-08-05 13:36:05 +00:00
2025-07-25 06:21:38 +05:30
2025-08-05 13:36:05 +00:00
2025-08-04 11:58:31 -03:00
2025-07-30 10:29:03 +00:00
2025-08-04 18:19:42 -07:00
2025-08-04 11:58:31 -03:00
2025-08-04 18:19:42 -07:00
2025-08-05 00:37:22 +00:00
2025-08-05 01:37:10 +00:00
2025-08-04 16:22:18 +00:00
2025-08-04 18:25:42 +02:00
2025-08-04 20:01:53 -04:00
2025-07-31 17:31:12 +00:00
2025-07-30 20:09:11 +00:00
2025-08-05 23:46:57 +03:00
2025-08-05 00:37:22 +00:00
2025-08-04 16:22:18 +00:00
2025-08-04 11:58:31 -03:00
2025-08-04 16:22:18 +00:00
2025-08-04 11:58:31 -03:00
2025-08-05 00:37:22 +00:00
2025-08-04 09:49:51 -03:00
2025-08-03 23:25:23 +00:00
2025-08-05 19:48:15 +00:00
2025-07-30 23:03:53 +05:30
2025-07-28 13:00:41 -04:00
2025-08-04 16:22:18 +00:00
2025-07-30 00:09:14 +00:00
2025-07-30 00:09:14 +00:00
2025-08-04 15:45:11 +00:00
2025-08-05 23:49:41 +03:00
2025-08-05 00:37:22 +00:00
2025-08-05 23:46:57 +03:00
2025-07-30 21:48:24 +00:00
2025-08-04 14:18:06 -06:00
2025-08-04 14:18:06 -06:00
2025-07-29 23:01:03 +00:00