Skip to content

Improve startplasma processes to make sure they deal properly with SIGTERM

Aleix Pol Gonzalez requested to merge work/cleanup-non-systemd into master

While debugging SDDM, I realised there were some occasions when we were not cleaning up the logind sessions, this showed there were some processes we were not ever telling them to close.

This adds 2 changes fundamentally:

  • Makes sure startplasma itself terminates its own processes.
  • Allows plasma_session to terminate its own processes.

A good way to test this is to restart a plasma session several times and use loginctl to see how they're listed.

Edited by Aleix Pol Gonzalez

Merge request reports