mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-30 23:28:28 +00:00
Added an exit dispatcher and no more SIGSEGV on exit
This commit is contained in:
@@ -144,6 +144,9 @@ void CCompositor::cleanupExit() {
|
||||
if (!m_sWLDisplay)
|
||||
return;
|
||||
|
||||
m_lWorkspaces.clear();
|
||||
m_lWindows.clear();
|
||||
|
||||
if (g_pXWaylandManager->m_sWLRXWayland) {
|
||||
wlr_xwayland_destroy(g_pXWaylandManager->m_sWLRXWayland);
|
||||
g_pXWaylandManager->m_sWLRXWayland = nullptr;
|
||||
|
Reference in New Issue
Block a user