mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 00:21:56 -07:00
core: Fix SEGV/ABRT core dump when exiting (#4823)
* reset input manager first * move reset
This commit is contained in:
@@ -414,6 +414,8 @@ void CCompositor::cleanup() {
|
|||||||
|
|
||||||
removeAllSignals();
|
removeAllSignals();
|
||||||
|
|
||||||
|
g_pInputManager.reset();
|
||||||
|
|
||||||
wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
|
wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
|
||||||
|
|
||||||
g_pDecorationPositioner.reset();
|
g_pDecorationPositioner.reset();
|
||||||
@@ -425,7 +427,6 @@ void CCompositor::cleanup() {
|
|||||||
g_pProtocolManager.reset();
|
g_pProtocolManager.reset();
|
||||||
g_pHyprRenderer.reset();
|
g_pHyprRenderer.reset();
|
||||||
g_pHyprOpenGL.reset();
|
g_pHyprOpenGL.reset();
|
||||||
g_pInputManager.reset();
|
|
||||||
g_pThreadManager.reset();
|
g_pThreadManager.reset();
|
||||||
g_pConfigManager.reset();
|
g_pConfigManager.reset();
|
||||||
g_pLayoutManager.reset();
|
g_pLayoutManager.reset();
|
||||||
|
Reference in New Issue
Block a user