Added a fallback return
This commit is contained in:
parent
0d37ed5fdc
commit
257007af9a
@ -43,6 +43,8 @@ rb_scheduler_close(VALUE scheduler)
|
|||||||
if (rb_respond_to(scheduler, id_close)) {
|
if (rb_respond_to(scheduler, id_close)) {
|
||||||
return rb_funcall(scheduler, id_close, 0);
|
return rb_funcall(scheduler, id_close, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Qnil;
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user