• Wataru Ashihara's avatar
    Fix: infinite loop in tree view on macOS · b34d76cd
    Wataru Ashihara authored
    Fixes #688, the bug regressed on 584a9bce.
    
    On Mac OS X 10.11.6, all processes have their parents since there's a
    special process named "kernel_task", whose PID and PPID are 0. As a
    result, `this->processes` is never changed causing infinite `while`.
    b34d76cd
ProcessList.c 11.1 KB