1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"

This commit is contained in:
Yusuke Endoh 2020-09-24 19:29:54 +09:00
parent 07786edd66
commit 416bb11a5e

View file

@ -24,6 +24,8 @@ class Scheduler
@lock = Mutex.new @lock = Mutex.new
@blocking = 0 @blocking = 0
@ready = [] @ready = []
@urgent = nil
end end
attr :readable attr :readable