ruby-changes:63062
From: Yusuke <ko1@a...>
Date: Thu, 24 Sep 2020 19:31:14 +0900 (JST)
Subject: [ruby-changes:63062] 416bb11a5e (master): test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"
https://git.ruby-lang.org/ruby.git/commit/?id=416bb11a5e From 416bb11a5e9c4062295392765191cdedcecc522a Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Thu, 24 Sep 2020 19:29:54 +0900 Subject: test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized" diff --git a/test/fiber/scheduler.rb b/test/fiber/scheduler.rb index c685e6f..6e04409 100644 --- a/test/fiber/scheduler.rb +++ b/test/fiber/scheduler.rb @@ -24,6 +24,8 @@ class Scheduler https://github.com/ruby/ruby/blob/trunk/test/fiber/scheduler.rb#L24 @lock = Mutex.new @blocking = 0 @ready = [] + + @urgent = nil end attr :readable -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/