mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-02 08:08:29 +00:00
handle term and int signals and cleanup
This commit is contained in:
@@ -22,8 +22,7 @@ int main(int argc, char** argv) {
|
||||
// If we are here it means we got yote.
|
||||
Debug::log(LOG, "Hyprland reached the end.");
|
||||
|
||||
wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
|
||||
wl_display_destroy(g_pCompositor->m_sWLDisplay);
|
||||
g_pCompositor->cleanupExit();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user