You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I'm using this Coordinators idea in my projects and have a issue here regarding to memory management. Imagine that I started a specific flow: the Login flow. This flow has 3 screens, and after the login is completed I go to the home screen. When I'm in the home screen I want to free all the Login flow screens from the memory. How to do that? One thing I tried to do was to go in the first Login screen coordinator and emitting an onNext event, so it should be disposed. However, it isn't being disposed. Another problem is: for this cases I have to not only all be concerned about releasing the coordinator, but to removing the controllers from the navigationController. I think the best way to do that was to be able to, in this case, when I'm starting a new flow, like the home flow, I should be able to simply starting it from the strath ignoring the previous one, that should be automatically released. Some way I can do that in the current structure?
The text was updated successfully, but these errors were encountered:
Hi. I'm using this Coordinators idea in my projects and have a issue here regarding to memory management. Imagine that I started a specific flow: the Login flow. This flow has 3 screens, and after the login is completed I go to the home screen. When I'm in the home screen I want to free all the Login flow screens from the memory. How to do that? One thing I tried to do was to go in the first Login screen coordinator and emitting an onNext event, so it should be disposed. However, it isn't being disposed. Another problem is: for this cases I have to not only all be concerned about releasing the coordinator, but to removing the controllers from the navigationController. I think the best way to do that was to be able to, in this case, when I'm starting a new flow, like the home flow, I should be able to simply starting it from the strath ignoring the previous one, that should be automatically released. Some way I can do that in the current structure?
The text was updated successfully, but these errors were encountered: