mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-09 20:38:11 +08:00
Closing a checker process checked for its exit once and then slept 10 ms before checking again, although the process exits a fraction of a millisecond after its input closes. The checks now start 0.1 ms apart and double, so the process is reaped as soon as it exits. The total wait before the kill stays at about 50 ms (51.1 ms).