commit 56a24c0f36ebf50d2785ccc7487bd1c4e2413e84 parent bf4f669959850159855f88515cdda2d066548b0d Author: Michael Camilleri <[email protected]> Date: Sat, 4 Jul 2026 11:14:51 +0900 Fix concurrency warning about isolation Diffstat:
| M | Crossmate/Persistence/Journal.swift | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Crossmate/Persistence/Journal.swift b/Crossmate/Persistence/Journal.swift @@ -408,7 +408,7 @@ final class MovesJournal { } } - private static func fetchValues(for gameID: UUID, in ctx: NSManagedObjectContext) -> [JournalValue] { + private nonisolated static func fetchValues(for gameID: UUID, in ctx: NSManagedObjectContext) -> [JournalValue] { let req = NSFetchRequest<JournalEntity>(entityName: "JournalEntity") // `sourceDeviceID == nil` keeps this to *this device's* log: rows cached // from other devices for replay carry a source key and must not enter