Skip to content

Commit 3cb86a6

Browse files
committed
Save main context
1 parent c4cdc9b commit 3cb86a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DBClient/CoreData/CoreDataDBClient.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public class CoreDataDBClient {
105105
context.parent = managedObjectContext
106106
context.perform {
107107
closure(context)
108+
try? self.managedObjectContext.save()
108109
}
109110
}
110111

0 commit comments

Comments
 (0)