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.
This commit is contained in:
parent
feffa184fb
commit
0574a7534a
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ KWinWrapper::~KWinWrapper()
|
||||||
{
|
{
|
||||||
wl_socket_destroy(m_socket);
|
wl_socket_destroy(m_socket);
|
||||||
if (m_kwinProcess) {
|
if (m_kwinProcess) {
|
||||||
|
disconnect(m_kwinProcess, nullptr, this, nullptr);
|
||||||
m_kwinProcess->terminate();
|
m_kwinProcess->terminate();
|
||||||
m_kwinProcess->waitForFinished();
|
m_kwinProcess->waitForFinished();
|
||||||
m_kwinProcess->kill();
|
m_kwinProcess->kill();
|
||||||
|
|
Loading…
Reference in a new issue