diff options
author | vaxerski <[email protected]> | 2022-04-21 15:59:28 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-04-21 15:59:28 +0200 |
commit | 422eaad4201fe1902f037898e98d8651925b9c13 (patch) | |
tree | bac4f175fff3f8aacea17d627f4841edfdca5280 /src/main.cpp | |
parent | 66b5c5a1437f81e9cea94e1a27e48fbf74d8a56d (diff) | |
download | Hyprland-422eaad4201fe1902f037898e98d8651925b9c13.tar.gz Hyprland-422eaad4201fe1902f037898e98d8651925b9c13.zip |
handle term and int signals and cleanup
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 57016425..7cbef959 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } |