lib/async/scheduler.rb in async-1.28.3 vs lib/async/scheduler.rb in async-1.28.4

- old
+ new

@@ -80,10 +80,10 @@ # @parameter pid [Integer] The process ID to wait for. # @parameter flags [Integer] A bit-mask of flags suitable for `Process::Status.wait`. # @returns [Process::Status] A process status instance. def process_wait(pid, flags) Thread.new do - Process::Status.wait(pid, flags) + ::Process::Status.wait(pid, flags) end.value end def kernel_sleep(duration) @reactor.sleep(duration)