mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-01 18:55:02 +03:00
core: Try to fix the exit hang (#4811)
* add signal removal * use a flag instead * remove signals in cleanup
This commit is contained in:
parent
8c3613632a
commit
f389f77015
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user