mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
86360598bd
It takes some time for the kernel to kill the process (and remove its PID from cgroup.procs). To ensure we don't have flakes from reading cgroup.procs right after the kill, check and wait for processes to actually be gone. Fixes: 4163 Reported-by: lifubang@acmcoder.com Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>