Revert "Backport mutex"

This reverts commit 9b02afb20c.
This commit is contained in:
Max Goedjen
2025-01-05 16:27:41 -08:00
parent 9b02afb20c
commit bab76da2ab
9 changed files with 15 additions and 60 deletions

View File

@@ -2,14 +2,13 @@ import Foundation
import Synchronization
import Observation
import Brief
import Backports
@Observable class PreviewUpdater: UpdaterProtocol {
var update: Release? {
_update.withLock { $0 }
}
let _update: _Mutex<Release?> = .init(nil)
let _update: Mutex<Release?> = .init(nil)
let testBuild = false