mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Try and fix ios 17 memory leak
This commit is contained in:
parent
a4422b32cb
commit
d6b8c593a0
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class PersistenceController {
|
|||
// Merge policy that favors in memory data over data in the db
|
||||
self.container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
|
||||
self.container.viewContext.automaticallyMergesChangesFromParent = true
|
||||
self.container.viewContext.retainsRegisteredObjects = true
|
||||
self.container.viewContext.shouldDeleteInaccessibleFaults = true
|
||||
|
||||
if let error = error as NSError? {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue