rolandoam/shinycocos

exception handling in ruby world

Closed this issue · 1 comments

ruby is creating a BAD_ACCESS error when raising an exception from ruby code called from the objc-counterpart.
For instance, if an exception is raised in the ruby-c code, it breaks.
If an exception is raised in the ruby code being called from obj-c land, it breaks.

fixed. Added rb_protect around every rb_funcall fixed the problem