Problem with spawn and callfunc

Problem with spawn and callfunc
0.0 0


Hi guys, I’ve got another problem to report. Have attached the example project. (174.0 KB)

Basically, it is a simple demonstration of how a well timed call to garbage collect can instantly cause a bad memory access crash. By using a combination of spawn, callfunc and any other action, so as long as the other action will run longer than callfunc does ( same thing happens if you immediately use callfunc followed by an action). I know that we should not be constantly calling the garbage collector, if at all, but if the system does do it, and it happens at the right time, this is really fatal.


@nantas @pandamicro help please?