diff --git a/src/helpers/wayland_wrapper/kwin_wrapper.cpp b/src/helpers/wayland_wrapper/kwin_wrapper.cpp index 74778e8258..74de94d786 100644 --- a/src/helpers/wayland_wrapper/kwin_wrapper.cpp +++ b/src/helpers/wayland_wrapper/kwin_wrapper.cpp @@ -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();