fix core data bugs
This commit is contained in:
parent
4f82de061d
commit
ff83ed29d4
1 changed files with 1 additions and 0 deletions
|
|
@ -353,6 +353,7 @@ class PasswordStore {
|
||||||
do {
|
do {
|
||||||
try context.execute(deleteRequest)
|
try context.execute(deleteRequest)
|
||||||
try context.save()
|
try context.save()
|
||||||
|
context.reset()
|
||||||
} catch let error as NSError {
|
} catch let error as NSError {
|
||||||
print(error)
|
print(error)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue