CGImage related memory leak in SceneKit application
问题 I am writing a 3d game using Scene Kit. When I used Leaks profile in Instruments, I find leaks exist. For the first red cross icon, it says 51 new leaks. Also if you see further down the leak checks area, there are grayed out dashed icons which say no new leaks. To put it in context, I try to recreate a scene after one unit of play is completed and present that using presentScene... . That would crash after 4 or 5 units of play. I was getting memory warnings and hence I used the leaks profile