mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-20 07:51:21 +02:00
merge in context's queue
This commit is contained in:
@@ -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