Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Add missing completion block execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi Parpinel committed Feb 6, 2019
1 parent 3173eda commit ac7306d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ extension MagicalRecordDataStore: DataStore {
accessor.context.perform {
writeBlock(accessor)
accessor.context.mr_saveToPersistentStoreAndWait() // Saves context and parent contexts all the way up to the persistent store.
completion?()
}
}

Expand Down

0 comments on commit ac7306d

Please sign in to comment.