ruby-changes:63239
From: Nobuyoshi <ko1@a...>
Date: Thu, 1 Oct 2020 13:53:29 +0900 (JST)
Subject: [ruby-changes:63239] 257007af9a (master): Added a fallback return
https://git.ruby-lang.org/ruby.git/commit/?id=257007af9a From 257007af9aa4b04a28e995ed965b3d8e8d5879ec Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 1 Oct 2020 13:45:50 +0900 Subject: Added a fallback return diff --git a/scheduler.c b/scheduler.c index 03caec8..d7e713a 100644 --- a/scheduler.c +++ b/scheduler.c @@ -43,6 +43,8 @@ rb_scheduler_close(VALUE scheduler) https://github.com/ruby/ruby/blob/trunk/scheduler.c#L43 if (rb_respond_to(scheduler, id_close)) { return rb_funcall(scheduler, id_close, 0); } + + return Qnil; } VALUE -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/