mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-12-04 22:16:21 +01:00
merge in context's queue
This commit is contained in:
1 parent
fddd42f52f
commit
cc08053259
1 file changed
+4
-1
@@ -80,7 +80,10 @@ internal extension NSManagedObjectContext {
|
|||||||
object: rootContext,
|
object: rootContext,
|
||||||
closure: { [weak context] (note) -> Void in
|
closure: { [weak context] (note) -> Void in
|
||||||
|
|
||||||
context?.mergeChangesFromContextDidSaveNotification(note)
|
context?.performBlockAndWait { () -> Void in
|
||||||
|
|
||||||
|
context?.mergeChangesFromContextDidSaveNotification(note)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user