mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-13 20:33:34 +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,
|
||||
closure: { [weak context] (note) -> Void in
|
||||
|
||||
context?.mergeChangesFromContextDidSaveNotification(note)
|
||||
context?.performBlockAndWait { () -> Void in
|
||||
|
||||
context?.mergeChangesFromContextDidSaveNotification(note)
|
||||
}
|
||||
return
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user