summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authormemchr <118117622+memchr@users.noreply.github.com>2023-09-22 10:06:09 +0000
committerGitHub <noreply@github.com>2023-09-22 11:06:09 +0100
commitea5d9584dafc73412489b96369ffb090f51edb4d (patch)
tree66b6c3e4ab51d77ac4b55d5ff44eecb3f1696986 /src/main.cpp
parent1357b66091ecd73f097d19d527a23a9ae72a4ff1 (diff)
refactor: manually resets singletons (#3395)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 96b0dc46..9f8d61fc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -106,6 +106,7 @@ int main(int argc, char** argv) {
// If we are here it means we got yote.
Debug::log(LOG, "Hyprland reached the end.");
+ g_pCompositor.reset();
return EXIT_SUCCESS;
}