formotion
formotion copied to clipboard
Remove use of &/to_proc syntactic sugar since it causes RubyMotion to leak
trafficstars
I've submitted the issue with the RubyMotion team and I'm sure they'll look into it and address it. Until then this pull request removes the use of the &/to_proc syntactic sugar as it causes a malloc leak in the underlying RubyMotion code.
It leaks 16 bytes each time sub_render is called. Admittedly, that isn't too much. But, it is still a leak.
Wow, that's surprising. Good call!
Do you have a link to the HipByte ticket!?
*didnt mean ?!, just ?.
@clayallsopp
They haven't created an issue for it yet. I will post it when it is available and then decide whether to merge at this point. :-)