Skip to content

11.3.2

Latest

Choose a tag to compare

@z4kn4fein z4kn4fein released this 22 Nov 14:52
42d033f

Changed

  • Removed Synced; replaced its usage everywhere with a Mutex instance.
  • Refined the synchronization in ConfigService; now external code execution, like logging/cache operations/hooks, doesn't hold the service's single mutex.
  • The SnapshotBuilder's default user is now a synchronized property rather than Synced.
  • Added test execution with thread sanitization to CI.

Related issues

  • #64 - ConfigService writes the cache while holding its mutex, which deadlocks with SwiftUI @AppStorage
  • #65 - @Synced defaultUser is not thread-safe: use-after-free in getValue vs setDefaultUser