CGImage memory leak error in SceneKit application

I am writing a 3D game using the Scene Kit. When I used the Leaks profile in Tools, I discovered that leaks exist. For the first red cross badge, he talks about 51 new leaks. In addition, if you see further down the leakage inspection area, gray dashed icons appear that do not indicate new leaks.

CGImagePlus memory leak in scene set

To express this in context, I am trying to recreate a scene after completing one part of the game and present it with presentScene.... It may crash after 4 or 5 units of play. I received memory warnings, so I used a leak profile.

, , API SceneKit, API Core Foundation. , - .

0

Source: https://habr.com/ru/post/1673455/


All Articles