From a61a2e6d470b3a5d075a5ba7d8d4cd37ef3f78b5 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sun, 18 Apr 2021 18:10:04 +0200 Subject: Call makeCommandStr on all platforms --- ProcessList.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ProcessList.c') diff --git a/ProcessList.c b/ProcessList.c index 4905f4f5..da5d7a91 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -609,6 +609,8 @@ void ProcessList_scan(ProcessList* this, bool pauseProcessUpdate) { for (int i = Vector_size(this->processes) - 1; i >= 0; i--) { Process* p = (Process*) Vector_get(this->processes, i); + Process_makeCommandStr(p); + if (p->tombStampMs > 0) { // remove tombed process if (this->monotonicMs >= p->tombStampMs) { @@ -623,8 +625,6 @@ void ProcessList_scan(ProcessList* this, bool pauseProcessUpdate) { // immediately remove ProcessList_remove(this, p); } - } else { - p->updated = false; } } -- cgit v1.2.3