Fix test-time crashes by making sure some main thread code runs on main thread.

This commit is contained in:
Brent Simmons
2025-04-20 21:21:38 -07:00
parent 894acaeb0a
commit aa75efaa2e
7 changed files with 46 additions and 39 deletions

View File

@@ -50,7 +50,7 @@ final class AdvancedPreferencesViewController: NSViewController {
private extension AdvancedPreferencesViewController {
func updateUI() {
@MainActor func updateUI() {
if wantsTestBuilds {
testBuildsButton.state = .on
}