mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added a fallback return
This commit is contained in:
parent
0d37ed5fdc
commit
257007af9a
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ rb_scheduler_close(VALUE scheduler)
|
|||
if (rb_respond_to(scheduler, id_close)) {
|
||||
return rb_funcall(scheduler, id_close, 0);
|
||||
}
|
||||
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
VALUE
|
||||
|
|
Loading…
Add table
Reference in a new issue