diff options
| author | thejch <66577496+thejch@users.noreply.github.com> | 2024-02-23 18:50:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-24 02:50:54 +0000 |
| commit | d92da7959a1d271c585d0a7de4c75a389bd1ac05 (patch) | |
| tree | b7e87edf9793a93e289d6d47b1a439bb23b0734c /src/Compositor.cpp | |
| parent | f27054c13e72598e43771cb3f8bfad8ac6c6668f (diff) | |
core: Fix SEGV/ABRT core dump when exiting (#4823)
* reset input manager first
* move reset
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 66bd8bf1..5eeabf8a 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -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(); |
