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

@ -19,6 +19,7 @@ U0 @templeos_close_callback(Window* win)
Kill(templeos_winmgr_task);
Compositor.UnregisterForGlobalInputEvents(win);
Compositor.DestroyWindow(win);
Kill(app_event_loop);
win = NULL;
Exit;
}