diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index b131e59a..4c61f380 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; |
