caiyue1993/IceCream

CreamAsset deletion

Fonceur opened this issue · 0 comments

So I have an object which contains a CreamAsset and I set the isDeleted flag to true.

Expected behavior

I would expect everything about that object to be removed after the iCloud sync.

Actual behavior

While the object and local file are deleted from the device, I still see the CreamAsset instance in the local database. I know that it's a small record, but I don't like to carry dead wood... Anyway to add some cascade deletion or an extra line in the SyncObject.cleanUp() to get rid of that zombie?