Deleted session tab hangs app and leaks RAM when clicked
Bug
When the active session is deleted, the session view stays clickable (sidebar entry persists during the post-delete refetch window, and the URL still resolves to the deleted id). Clicking it remounts SessionPage against a missing session, the 3s title poll swallows the 404 and keeps running, and the workspace event sync stays subscribed. Result: UI hangs and RAM grows unbounded.
Repro
- Open a session (it becomes active in the URL
/session/{id}). - Delete it from the sidebar (or any path).
- Either click the still-visible sidebar entry, or stay on the now-stale URL.
- App hangs; memory climbs in Activity Monitor / devtools heap.
Fix
PR #1597 — optimistic sidebar removal + navigate-before-delete when active, plus 404-aware cleanup in the title poll.
https://github.com/user-attachments/assets/c4dd48cf-8965-4ed9-88ea-47c4b36d077f
please check if soleved in latest electron builds
Yes the update fixed this, closing now