我无法追踪这次泄漏。音频工具箱
我在这里浏览了大量愚蠢的论坛帖子和问题。虽然我很乐意接受这个建议: http://www.cocos2d-iphone.org /forum/topic/2003 我想我只是不像这个社区那样信任“他们”。
所以,我问,如果当我将视图推送到根视图控制器时似乎只发生一次,这是否是“可忽略的泄漏”?
I have gone over a silly amount of forum posts and questions here. while i would love to take this advice: http://www.cocos2d-iphone.org/forum/topic/2003 I suppose i just don't trust 'them' as much as this community.
so, I ask, is this a 'negligible leak' if it only seems to happen once when i push a view onto the root view controller?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
核心音频库总是给我带来无法修复的内存泄漏。忽略它们吧,因为它们是苹果的错。
那里有 416 字节泄漏,但如果它只发生一次,那么就没有什么可担心的。
使用我的代码,每次调用 play 方法时,AVAudioPlayer 类都会泄漏。这是垃圾。幸运的是,这只是一个小泄漏。
The core audio libraries have always given me unfixable memory leaks. Just ignore them because they are Apple's fault.
There's 416 bytes leaked there but if it only happens once then it's nothing to worry about.
With my code, the AVAudioPlayer class leaks each time I call the play method. It's rubbish. Luckily it's only a small leak.