modify exit behaviour a bit

This commit is contained in:
vaxerski
2022-08-25 21:35:47 +02:00
parent e327b0a835
commit 0d1a9e4ba9
3 changed files with 10 additions and 4 deletions

View File

@@ -61,7 +61,8 @@ int main(int argc, char** argv) {
// If we are here it means we got yote.
Debug::log(LOG, "Hyprland reached the end.");
g_pCompositor->cleanup();
wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
wl_display_destroy(g_pCompositor->m_sWLDisplay);
return EXIT_SUCCESS;
}