mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-02-24 19:44:54 +01:00
tidy up
This commit is contained in:
@@ -80,7 +80,7 @@ internal extension NSManagedObjectContext {
|
||||
|
||||
var result = SaveResult(hasChanges: false)
|
||||
|
||||
self.performBlockAndWait { [unowned self] () -> Void in
|
||||
self.performBlockAndWait {
|
||||
|
||||
guard self.hasChanges else {
|
||||
|
||||
@@ -124,7 +124,7 @@ internal extension NSManagedObjectContext {
|
||||
|
||||
internal func saveAsynchronouslyWithCompletion(completion: ((result: SaveResult) -> Void) = { _ in }) {
|
||||
|
||||
self.performBlock { () -> Void in
|
||||
self.performBlock {
|
||||
|
||||
guard self.hasChanges else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user