Added a fallback return

This commit is contained in:
Nobuyoshi Nakada 2020-10-01 13:45:50 +09:00
parent 0d37ed5fdc
commit 257007af9a
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -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