We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffb097 commit 1dc99c3Copy full SHA for 1dc99c3
WordPress/Classes/Utility/CoreDataHelper.swift
@@ -271,6 +271,7 @@ extension CoreDataStack {
271
throw ContextManager.ContextManagerError.missingDatabase
272
}
273
274
+ mainContext.reset()
275
try storeCoordinator.remove(store)
276
let databaseReplaced = replaceDatabase(from: databaseLocation, to: currentDatabaseLocation)
277
0 commit comments