Skip to content

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

Open
jdewind wants to merge 5 commits into
clayallsopp:masterfrom
atomicobject:master
Open

Remove use of &/to_proc syntactic sugar since it causes RubyMotion to leak#161
jdewind wants to merge 5 commits into
clayallsopp:masterfrom
atomicobject:master

Conversation

@jdewind
Copy link
Copy Markdown
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
Copy Markdown
Owner

Wow, that's surprising. Good call!

Do you have a link to the HipByte ticket!?

@clayallsopp
Copy link
Copy Markdown
Owner

*didnt mean ?!, just ?.

@jdewind
Copy link
Copy Markdown
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