drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Add event store resets to reduce memory usage #131

Closed drewmccormack closed 10 years ago

drewmccormack commented 10 years ago

Need to add resets of the event store, probably at the end of a save, merge, or leech.

Need to be very careful that no NSManagedObjects are passed between perform-blocks, otherwise there is the potential that a race condition could cause them to be invalidated by a reset when they are still needed.

This is the case, for example, with the global identifiers created by the save monitor. they are passed between event store perform blocks. Will need to pass object ids instead.

drewmccormack commented 10 years ago

Done in 2.0