- Notifications
You must be signed in to change notification settings - Fork524
Open
Description
We have several actions that are chained one after another in this manner:
- Action is dispatched
- A StoreSubscriber receives
newStatecallback on state change - It dispatches another Action on the same Store
- Another StoreSubscriber (or maybe the same one) receives
newStatecallback on state change - It dispatches another Action on the same Store
These chains are not infinitely recursive, their depth is 2-4 actions. They all operate on single (main) thread synchronously. We see a crash when 2nd or 3rddispatch is called inside ReSwift. It occurs with different action sequences. One case we can reproduce 100% in debug configuration (-Onone), but it's not reproduced in release configuration.
Stacktrace top is__swift_instantiateConcreteTypeFromMangledName
Metadata
Metadata
Assignees
Labels
No labels
