summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
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;