core icon indicating copy to clipboard operation
core copied to clipboard

Ruby C API error handling

Open giarve opened this issue 5 years ago • 0 comments

Currently class static method calls and object method calls are not properly handling errors. If there's an uncaught exception in Ruby, the program will terminate (segfault).

See issue #53

To solve this, rb_protect must be used: https://silverhammermba.github.io/emberb/c/#rb_protect

giarve avatar Dec 02 '20 11:12 giarve