vectorcraft/apps
bflatastic f17bac2c64 Fix #661: quitting no longer crashes on Macs with a Touch Bar
On every quit (Cmd+Q, VectorCraft > Quit, the close button) on a MacBook Pro
with a Touch Bar, AppKit threw from -[_NSTouchBarFinderObservation invalidate]
and macOS reported a crash. AccessKit's macOS adapter subclasses the window's
content view and gives it back its own class when the window is torn down;
AppKit's Touch Bar support observes the view under the subclass, so removing
that observation throws (the same cause Zed fixed in zed-industries/zed#65186).

On macOS with accessibility, the app now ends the process at the end of
on_exit, once the preferences are saved, before eframe tears the window down.
Nothing after the window is needed on a normal quit. While the window is still
starting up it doesn't, so a graphics failure still starts the app again on
another adapter (#651).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:20:40 +07:00
..
vectorcraft Fix #661: quitting no longer crashes on Macs with a Touch Bar 2026-10-09 11:20:40 +07:00
vectorcraft-cli Part of #579: vectorcraft-cli lists the fonts font services load too 2026-10-09 05:43:13 +07:00
vectorcraft-web Fix #597: an image copied in a browser pastes as the picture, not its address 2026-10-09 05:22:09 +07:00