Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of &/to_proc syntactic sugar since it causes RubyMotion to leak #161

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jdewind
Copy link
Contributor

@jdewind jdewind commented Oct 11, 2013

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.

…eak via malloc or the underlying object that is to_proc'd
@clayallsopp
Copy link
Owner

Wow, that's surprising. Good call!

Do you have a link to the HipByte ticket!?

@clayallsopp
Copy link
Owner

*didnt mean ?!, just ?.

@jdewind
Copy link
Contributor Author

jdewind commented Oct 11, 2013

@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. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants