main: set isShuttingDown after display dispatch reaches the end

relates to #3558
This commit is contained in:
Vaxry 2023-11-07 14:53:56 +00:00
parent 29e0a7112e
commit 47654a84c2

View File

@ -104,6 +104,8 @@ int main(int argc, char** argv) {
// If all's good to go, start.
g_pCompositor->startCompositor();
g_pCompositor->m_bIsShuttingDown = true;
// If we are here it means we got yote.
Debug::log(LOG, "Hyprland reached the end.");
g_pCompositor.reset();