BUGFIX: scheduler crash in blocking_tick

This commit is contained in:
Sam 2014-02-07 11:21:28 +11:00
parent be560d4eb6
commit 12cea8cb92
1 changed files with 1 additions and 1 deletions

View File

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