I noticed that when using cancellable effects inside
IfLetStore view, the publishers of the effects are retained in the memory after the effect is canceled.
To explain the issue in a reproducible way, I've created a demo project and I'm sharing it on GitHub: https://github.com/darrarski/tca-ifletstore-effect-cancellation-retains-publisher-demo
I think the problem is related to
IfLetStore because when not using it the publishers are correctly disposed from the memory after being canceled.
Perhaps there is something I'm not aware of, connected to
Effect cancellation in TCA. I appreciate any hints or ideas!