Files
NetNewsWire/Mac/MainWindow/StatusBar
Dave Marquard b17800e28f Fix status bar crash at midnight
NSCalendarDayChanged is posted from a background queue (CoreFoundation's
__postAndResetMidnight), but MainWindowStatusBarView's handler for it was
main-actor isolated, so Swift's executor check trapped with EXC_BREAKPOINT
at 00:00 every night the app was running. The time zone and locale change
handlers have the same shape, so they get the same treatment: nonisolated,
hopping to the main actor before updating the count label. SmartFeed
already handles NSCalendarDayChanged this way.

The crash came in with the last-refresh time in the status bar (e4eefa31d).
2026-10-22 10:20:39 -07:00
..