ContainerController icon indicating copy to clipboard operation
ContainerController copied to clipboard

Weak reference

Open Barry0327 opened this issue 4 years ago • 0 comments

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.

Barry0327 avatar Feb 07 '22 07:02 Barry0327