Commit b7f4a732 authored by Eugene Popov's avatar Eugene Popov 🇺🇦 Committed by Nate Graham
Browse files

[startplasma] Wait for the killed process to finish

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

BUG: 454173


(cherry picked from commit 853c29bf)
parent d9ecb273
Pipeline #180402 passed with stage
in 24 minutes and 18 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