|
|
|
|
@ -290,11 +290,11 @@ public class SyncedCollection<T : SyncedStorable>: BaseCollection<T>, SomeSynced |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Deletes the instance in the collection without synchronization |
|
|
|
|
func deleteNoSync(instance: T) { |
|
|
|
|
public func deleteNoSync(instance: T, cascading: Bool = false) { |
|
|
|
|
defer { |
|
|
|
|
self.setChanged() |
|
|
|
|
} |
|
|
|
|
self.deleteItem(instance, shouldBeSynchronized: false) |
|
|
|
|
self.deleteItem(instance, shouldBeSynchronized: cascading) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Deletes the instance in the collection without synchronization |
|
|
|
|
|