()
| 235 | // Spawned daemons that lost the lock leave on their own, and must be gone |
| 236 | // before the pipe, lock and fixture go away. One that won idles out. |
| 237 | const winner = (): number => (holder ? process.pid : lockPid() ?? process.pid); |
| 238 | await settleLosingCandidates(root, winner, 60_000); |
| 239 | const daemon = winner(); |
| 240 | if (daemon !== process.pid) { |
no test coverage detected