mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-23 00:50:35 +01:00
e463c5ab74
Noticed hangs when opening certain agent threads, hang sample: [Sample of Zed Nightly.txt](https://github.com/user-attachments/files/33056833/Sample.of.Zed.Nightly.txt) Focus cleanup scanned the entire handle registry before each app effect, amplifying work while restoring large conversations. Queue final handle drops instead and process only those IDs at the existing cleanup boundary, preserving blur and pending-input behavior. Recheck subagent registration after loading to avoid duplicate views and subscriptions from concurrent loads. Add targeted regression coverage and a focus-cleanup benchmark. Release Notes: - Fixed threads with subagents restoration causing hangs - [GPUI] Improved focus cleanup performance when many focus handles are retained or released