Commit dcdad5ce authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Make the launcher not restart kwin_wayland if it crashes at shutdown

Currently, if kwin_wayland crashes at shutdown, the launcher can
potentially spawn it again. This change addresses that issue by making
the wrapper ignore the QProcess::finished() signal.


(cherry picked from commit 0574a753)
parent 12d52f3a
Pipeline #135714 passed with stage
in 16 minutes and 26 seconds
......@@ -82,6 +82,7 @@ KWinWrapper::~KWinWrapper()
{
wl_socket_destroy(m_socket);
if (m_kwinProcess) {
disconnect(m_kwinProcess, nullptr, this, nullptr);
m_kwinProcess->terminate();
m_kwinProcess->waitForFinished();
m_kwinProcess->kill();
......
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