mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-15 13:22:12 +01:00
stabilize NSProgress when lightweight migration falls back to InferredMappingModel
This commit is contained in:
1 parent
30685d4355
commit
808e8ff97a
2 files changed
+6
-3
No files matched your search
@@ -708,9 +708,9 @@ public extension DataStack {
|
||||
var fakeProgress: Float = 0
|
||||
|
||||
var recursiveCheck: () -> Void = {}
|
||||
recursiveCheck = {
|
||||
recursiveCheck = { [weak timerQueue] in
|
||||
|
||||
guard fakeProgress < 1 else {
|
||||
guard let timerQueue = timerQueue, fakeProgress < 1 else {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user