• antirez's avatar
    TerminateModuleForkChild(): use wait4 for safety. · 82845f8d
    antirez authored
    In theory currently there is only one active child, but the API may
    change or for bugs in the implementation we may have several (it was
    like that for years because of a bug). Better to wait for a specific
    pid and avoid consuing other pending children information.
    82845f8d
module.c 222 KB