I am passing completion blocks to Kinvey methods for making queries and calling endpoints but they don't seem to ever get deallocated even after the block executes. I don't have any strong references to the blocks and yet I can confirm in instruments that they are still alive afterwards. The real problem is that all of the variables their bodies reference get leaked as well. Zombies is not enabled, either. It appears that the Kinvey library is correctly copying the blocks for later asynchronous use which is good but I'm wondering if they ever get released and if so how?
almost 4 years ago
We'll take a look into it. It would help us diagnose the issue if you could provide a sample project that reproduces the leak.