• Hisham Muhammad's avatar
    Pre-reset 'show' for process. · c1830946
    Hisham Muhammad authored
    This simplifies the protocol between the platform-independent
    and platform-specific parts. The platform-specific parts
    were supposed to re-determine the value of process->show
    on each iteration, and the Darwin subsystem wasn't doing that.
    Instead of adding the code to the Darwin part, I lifted the
    burden of the OS-specific of resetting process->show: now
    they can choose to hide a process if they want to (e.g.
    detecting kernel threads) but are not required to
    (e.g. on Darwin where we're not listing threads separately (yet?)).
    Fixes tree view collapsing/expanding on OSX. Closes #416.
    c1830946
ProcessList.c 9.89 KB