Skip to content

Fix extraneous processes in process list

Jiří Paleček requested to merge jpalecek/libksysguard:extra-processes into master

Some processes hang there because updateOrAddProcess can be called outside of processesUpdated, particularly from the network plugin. In that case, they might not get removed from the model if they terminate before the next update. This patch simplifies the logic of processesUpdated, which makes it more robust against this scenario.

This fixes a bug that some processes annoyingly hang in the process list forever.

Merge request reports