BUGFIX: scheduler crash in blocking_tick
This commit is contained in:
parent
be560d4eb6
commit
12cea8cb92
|
@ -45,7 +45,7 @@ module Scheduler
|
|||
end
|
||||
|
||||
def wait_till_done
|
||||
while !@queue.empty? && !@queue.num_waiting > 0
|
||||
while !@queue.empty? && !(@queue.num_waiting > 0)
|
||||
sleep 0.001
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue