Avalonia 12 creates an application per test by default, so the app's
startup ran again for every test, and its asynchronous part (system font
loading, then applying the settings) could land on the dispatcher of a
later test: "The calling thread cannot access this object" on cleanup,
seen on macOS CI and now and then on Windows. The app itself has one
application per process, and so do the tests now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>