开发者

Cocos2d App is Freezing

开发者 https://www.devze.com 2023-04-09 00:32 出处:网络
I\'m creating a game app using cocos2d Chipmunk. The app is working normally but after 30 to 40 seconds the app become开发者_开发技巧s unresponsive(app freezes) without any error log.

I'm creating a game app using cocos2d Chipmunk. The app is working normally but after 30 to 40 seconds the app become开发者_开发技巧s unresponsive(app freezes) without any error log. Can any tell me why this is happening and how to overcome this problem. Please tell me the code also.

Thanks in advance..


i got the solution. i was using timers but was not unscheduling them that's why app was freezing. now it is working fine after unscheduling that timers.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号