merge in context's queue

This commit is contained in:
John Rommel Estropia
2015-03-19 02:24:28 +09:00
parent fddd42f52f
commit cc08053259

View File

@@ -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
}
)