Files
skylartaylor 3ca72bbdd7 Finish the Nightly session in the app's exit hook
On macOS every quit (Cmd+Q, the close button, File > Quit, app.quit) leaves
through craft::quit, which sends -[NSApplication terminate:]. winit's
applicationWillTerminate: delivers LoopExiting, eframe runs the app's
on_exit, and AppKit then ends the process, so eframe::run_native never
returns there and the controlled-return code after it (the Nightly
session finish) never ran: every Mac Nightly start reported the previous
session as unclean.

Services gets an at_exit hook that on_exit runs once, last. The desktop
app finishes the shared Nightly session there, and again after run_native
for the paths that create no window (renderer failure), where the second
call is a no-op.
2026-11-23 18:24:13 +01:00
..
2026-11-21 16:12:46 +00:00
2026-11-21 16:12:46 +00:00
2026-11-21 16:12:46 +00:00
2026-11-21 16:12:46 +00:00