Skip to content

Commit

Permalink
Prefer rb_check_funcall.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 30, 2021
1 parent 9b9bbae commit c05dd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler.c
Expand Up @@ -113,7 +113,7 @@ rb_fiber_scheduler_make_timeout(struct timeval *timeout)
VALUE
rb_fiber_scheduler_timeout_raise(VALUE scheduler, VALUE timeout)
{
return rb_funcall(scheduler, id_timeout_raise, 1, timeout);
return rb_check_funcall(scheduler, id_timeout_raise, 1, timeout);
}

VALUE
Expand Down

0 comments on commit c05dd7d

Please sign in to comment.