aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-25 21:38:01 +0200
committervaxerski <[email protected]>2022-08-25 21:38:01 +0200
commit89018bfa954e038050e47a399d88e8a8b34dc481 (patch)
treeaa5b43d894de0c5152909a35603e3fc05ec3d305
parent0d1a9e4ba9cd8f1a6a826c99f927fbc036f3aa3c (diff)
downloadHyprland-89018bfa954e038050e47a399d88e8a8b34dc481.tar.gz
Hyprland-89018bfa954e038050e47a399d88e8a8b34dc481.zip
remove leftover code that didnt work
-rw-r--r--src/Compositor.cpp8
1 files changed, 0 insertions, 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() {