Call makeCommandStr on all platforms

This commit is contained in:
Benny Baumann
2021-04-18 18:10:04 +02:00
committed by BenBE
parent bcb18ef822
commit a61a2e6d47
9 changed files with 28 additions and 11 deletions

View File

@ -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;
}
}