mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
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).