mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:49:48 +01:00
main: set isShuttingDown after display dispatch reaches the end
relates to #3558
This commit is contained in:
parent
29e0a7112e
commit
47654a84c2
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue