You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
desktop: viewer Chrome stop treats a zombie with live threads as gone #327
PR #323 makes stopProcessGroupVerified treat a zombie with live threads as present. The viewer Chrome stop in packages/desktop-linux/src/viewer-state.ts uses a separate path. remainingViewerProcesses builds on listProcessGroupMembers, which skips every zombie, and on identityIsAlive, which treats a zombie as dead. removeLaunchIn then deletes the launch directory and the profile as soon as that list is empty. So it can remove the profile while a zombie Chrome leader still has threads that release file descriptors in it.
Make the viewer stop use the present-member rule, either through a new core export or by moving it onto stopProcessGroupVerified
Test: the viewer launch directory is kept while a zombie leader still has live threads
Activity