summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-01-26 12:54:32 +0000
committerVaxry <vaxry@vaxry.net>2025-01-26 12:54:38 +0000
commit0a28e13787a83a48cbca9641a02b8ea4857c733c (patch)
tree3bcb22dd6d477e62748727a246e97c24de524003 /src/main.cpp
parent3cd6e3960f0cbf500786497017ff3084cc9deb17 (diff)
desktop: move desktop types to memory-safe pointers
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d244f10f..464ed978 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -181,6 +181,8 @@ int main(int argc, char** argv) {
g_pCompositor->cleanup();
+ g_pCompositor.reset();
+
Debug::log(LOG, "Hyprland has reached the end.");
return EXIT_SUCCESS;