summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorthejch <66577496+thejch@users.noreply.github.com>2024-02-23 08:48:27 -0800
committerGitHub <noreply@github.com>2024-02-23 16:48:27 +0000
commitf389f77015ebeee30a2527b8eb7488879dd626e0 (patch)
tree2d50f843df42ff80e747693fe85e446f915f332c /src/Compositor.cpp
parent8c3613632a6ccebf9fb797ec756ecfce99514eec (diff)
core: Try to fix the exit hang (#4811)
* add signal removal * use a flag instead * remove signals in cleanup
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 3976dee9..66bd8bf1 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -372,6 +372,9 @@ void CCompositor::cleanup() {
if (!m_sWLDisplay || m_bIsShuttingDown)
return;
+ signal(SIGABRT, SIG_DFL);
+ signal(SIGSEGV, SIG_DFL);
+
removeLockFile();
m_bIsShuttingDown = true;