Everywhere: Kill app_event_loop on window close

This commit is contained in:
Alec Murphy 2025-04-21 19:57:19 -04:00
parent ce44a8db0f
commit 49666d7ea9
6 changed files with 18 additions and 3 deletions

View file

@ -50,6 +50,7 @@ U0 window_close(Window* win)
Gui.Window.SetFocus(Compositor.GetWindowByTitle("Wallpaper"));
Compositor.UnregisterForGlobalInputEvents(win);
Compositor.DestroyWindow(win);
Kill(app_event_loop);
}
U0 Main()