From 89018bfa954e038050e47a399d88e8a8b34dc481 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 25 Aug 2022 21:38:01 +0200 Subject: [PATCH] remove leftover code that didnt work --- src/Compositor.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 15a0ebf9..85f69636 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -240,14 +240,6 @@ void CCompositor::cleanup() { wl_display_terminate(m_sWLDisplay); m_bIsShuttingDown = true; - - // kill the PID with a sigkill after 2 seconds - const auto PID = getpid(); - - std::string call = "sleep 2 && kill -9 " + std::to_string(PID); - - execl("/bin/sh", "/bin/sh", "-c", call.c_str(), ">", "/dev/null", nullptr); // this is to prevent that random "freezing" - // the PID should not be reused. } void CCompositor::startCompositor() {