diff --git a/LeStorage/SyncedCollection.swift b/LeStorage/SyncedCollection.swift index 5babc7c..12b7d4e 100644 --- a/LeStorage/SyncedCollection.swift +++ b/LeStorage/SyncedCollection.swift @@ -337,10 +337,8 @@ public class SyncedCollection: SomeSyncedCollection, Collect } func deleteUnusedGranted(instance: T) { - guard instance.sharing != nil else { return } - - self.delete(instance: instance) + self.deleteNoSyncNoCascade(id: instance.stringId) instance.deleteUnusedSharedDependencies(store: self.store) }