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 stop never signals a zombie Chrome leader that still has live threads #329
Found in review of the fix for #327 (branch fix/324-327-proc-stop-unverified).
signalOwnedViewerProcesses in packages/desktop-linux/src/viewer-state.ts checks the leader with processIdentityMatches and members with readProcessIdentity. Both treat every zombie as dead. So when the Chrome leader is a zombie that still has live threads, the viewer stop sends no signal, waits, and throws ViewerProcessesAliveError.
After #327 the launch directory and profile are kept in that case, so no data is lost. But the viewer cannot finish such a group by itself. Core stopProcessGroupVerified can signal that group, because its leader identity stays verifiable while the leader is a zombie.
Let the viewer stop signal a verified zombie leader or member that still has live threads
Test: the viewer stop ends a real zombie leader with a live thread and then removes the launch
Activity