lib/async/task.rb in async-1.1.0 vs lib/async/task.rb in async-1.2.0
- old
+ new
@@ -111,10 +111,10 @@
# Resume the execution of the task.
def run(*args)
if @status == :initialized
@status = :running
- @fiber.resume(*args)
+ @fiber.resume(args)
else
raise RuntimeError, "Task already running!"
end
end