Multiple improvements to the shutdown procedure
This commit is contained in:
parent
4203a61b69
commit
d413388761
7 changed files with 41 additions and 7 deletions
|
|
@ -62,6 +62,11 @@ int main(int argc, char** argv) {
|
|||
Debug::log(LOG, "Hyprland reached the end.");
|
||||
|
||||
wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
|
||||
|
||||
// kill all clients
|
||||
for (auto& c : g_pCompositor->m_dProcessPIDsOnShutdown)
|
||||
kill(c, SIGKILL);
|
||||
|
||||
wl_display_destroy(g_pCompositor->m_sWLDisplay);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue