Commit 853c29bf authored by Eugene Popov's avatar Eugene Popov 🇺🇦
Browse files

[startplasma] Wait for the killed process to finish

Because we need all processes to be killed before startplasma exits.

BUG: 454173
parent dae0a5df
Pipeline #180401 passed with stage
in 15 minutes and 36 seconds
......@@ -75,8 +75,10 @@ void gentleTermination(QProcess *p)
// Wait longer for a session than a greeter
if (!p->waitForFinished(5000)) {
qCWarning(PLASMA_STARTUP) << "Could not fully finish the process" << p->program();
p->kill();
if (!p->waitForFinished(5000)) {
qCWarning(PLASMA_STARTUP) << "Could not fully finish the process" << p->program();
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment