fix core data bugs

This commit is contained in:
Bob Sun 2017-02-15 21:37:02 +08:00
parent 4f82de061d
commit ff83ed29d4
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -353,6 +353,7 @@ class PasswordStore {
do {
try context.execute(deleteRequest)
try context.save()
context.reset()
} catch let error as NSError {
print(error)
}