Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Fix dropping persistent store callback
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Nov 3, 2017
1 parent 0dfb35a commit 150cc72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/DATAStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,10 @@ import CoreData
for store in self.persistentStoreCoordinator.persistentStores {
guard let storeURL = store.url else { continue }
try! self.oldDrop(storeURL: storeURL)
DispatchQueue.main.async {
completion?(nil)
}
}

DispatchQueue.main.async {
completion?(nil)
}
}
}
Expand Down

0 comments on commit 150cc72

Please sign in to comment.