Prune unbounded process-lifetime maps (bound conversations, task watchers, bridge sockets) #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Location
src-tauri/src/app_state.rs,src-tauri/src/services/tasks.rs,src-tauri/src/services/issue_bridge/mod.rsProblem
With the explicit project close lifecycle removed:
bound_conversation_idsinAppStategrows monotonically over the application runtime.tasks.watchersfile watchers andissue_bridgeUnix domain socket servers remain running indefinitely for every folder opened during the app session.Suggested Fix
Implement reference counting or LRU/eviction cleanup for folder-scoped watchers and bridge sockets when all tabs belonging to a folder are closed.