ZombieHook里面调用free引起crash
q876911695 opened this issue · comments
师弟有毒 commented
Describe the bug
将MAX_ARRAY_SIZE设置为2,然后在testZombieException中循环执行三次。
Light commented
看了下代码感觉这块逻辑应该有问题,僵尸对象free的时候,free的是class,并不是当时没有释放的对象。
Protect the objective-c application(保护App不闪退)
q876911695 opened this issue · comments
Describe the bug
将MAX_ARRAY_SIZE设置为2,然后在testZombieException中循环执行三次。
看了下代码感觉这块逻辑应该有问题,僵尸对象free的时候,free的是class,并不是当时没有释放的对象。