mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 10:26:00 +01: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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue