mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 17:05:59 +01:00
core: Fix SEGV/ABRT core dump when exiting (#4823)
* reset input manager first * move reset
This commit is contained in:
parent
f27054c13e
commit
d92da7959a
1 changed files with 2 additions and 1 deletions
|
@ -414,6 +414,8 @@ void CCompositor::cleanup() {
|
|||
|
||||
removeAllSignals();
|
||||
|
||||
g_pInputManager.reset();
|
||||
|
||||
wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
|
||||
|
||||
g_pDecorationPositioner.reset();
|
||||
|
@ -425,7 +427,6 @@ void CCompositor::cleanup() {
|
|||
g_pProtocolManager.reset();
|
||||
g_pHyprRenderer.reset();
|
||||
g_pHyprOpenGL.reset();
|
||||
g_pInputManager.reset();
|
||||
g_pThreadManager.reset();
|
||||
g_pConfigManager.reset();
|
||||
g_pLayoutManager.reset();
|
||||
|
|
Loading…
Reference in a new issue