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
Is there a reason not to make the controller and delegate weakly in the ContainerController?
Since they are all strong references so I have to call remove() every time I dismiss the root view controller so it won't produce a memory leak, I have tried to make them weak and it works fine, and I don't have to call remove() anymore to prevent memory leak.
The text was updated successfully, but these errors were encountered:
Is there a reason not to make the controller and delegate weakly in the
ContainerController
?Since they are all strong references so I have to call
remove()
every time I dismiss the root view controller so it won't produce a memory leak, I have tried to make them weak and it works fine, and I don't have to callremove()
anymore to prevent memory leak.The text was updated successfully, but these errors were encountered: