modify exit behaviour a bit
This commit is contained in:
parent
e327b0a835
commit
0d1a9e4ba9
3 changed files with 10 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue