我有音频类,采样缓冲区和NSNotification
它调用另一个类,并发送一个数据(int)。autoreleased没有池警告?
我得到这个WARNNING运行很多很多次第二:
class __NSCFNumber autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool()
class __NSCFString autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
这是什么意思? 是的,我有NSNumber
该类和NSString
。 他们没有分配。
我需要另一个线程吗? 最新错误?
谢谢。
当你在'objc_autoreleaseNoPool()'上放置一个断点时会发生什么?堆栈显示了什么? – user1118321 2012-02-28 17:18:51
如何将断点放在objc_autoreleaseNoPool() – 2012-03-17 02:25:05